Using email as Mantis login

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Borszczuk
Posts: 9
Joined: 01 Feb 2008, 12:08

Using email as Mantis login

Post by Borszczuk »

Hi,

Is there any technical reason for not allowing emails to be user login? I am not happy with yet another login to hand to the coworkers. All our system use email as login with exception for Mantis. I'd like to get that sorted (I do not mind putting email in login field instead of using email field from user profile), but as for now mantis disallows certain characters to be your login. Is there any reason but design for that?
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Using email as Mantis login

Post by deboutv »

Change the following variable in your config_inc.php file to allow special characters in the login:

$g_user_login_valid_regex = '/^[\w \-]+$/';
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Borszczuk
Posts: 9
Joined: 01 Feb 2008, 12:08

Re: Using email as Mantis login

Post by Borszczuk »

Thanks
Post Reply