Username with a dot

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Nucleide
Posts: 3
Joined: 12 Feb 2007, 19:37

Username with a dot

Post by Nucleide »

Hi,

Is there any way to modify the program so it can accept 'dot' into the name?

Thanks,
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Hi Nucleide:

The regular expression that defines valid characters for a username is set by the $g_user_login_valid_regex variable. In config_inc.php, if you add something like:

$g_user_login_valid_regex = '/^[\w \-\.]+$/';

You should be right.
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

It seems that requiring a dot in user name is a common request. Nucleide, can you please report an issue in the bug tracker to require this by default and reference this forum thread.
Migrate your MantisBT to the MantisHub Cloud
Post Reply