Commit bfed9251 authored by latham's avatar latham
Browse files

Allow numbers in email account names

parent c3c862a1
......@@ -86,7 +86,7 @@ $form["tabs"]['mailuser'] = array (
0 => array ( 'type' => 'UNIQUE',
'errmsg'=> 'login_error_unique'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-z][\w\.\-_\+@]{1,63}$/',
'regex' => '/^[a-z0-9][\w\.\-_\+@]{1,63}$/',
'errmsg'=> 'login_error_regex'),
),
'default' => '',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment