Page 1 of 1

Using email as Mantis login

Posted: 20 Feb 2008, 17:22
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?

Re: Using email as Mantis login

Posted: 21 Feb 2008, 07:35
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 \-]+$/';

Re: Using email as Mantis login

Posted: 21 Feb 2008, 21:22
by Borszczuk
Thanks