Commit 1272df7f authored by Till Brehm's avatar Till Brehm
Browse files

- Allow underscore at the beginning of email user login names

- Add config to clear php handler in apps vhost.
parent 05646536
......@@ -11,6 +11,10 @@
ServerAdmin webmaster@localhost
{apps_vhost_servername}
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
<IfModule mod_php5.c>
DocumentRoot {apps_vhost_dir}
AddType application/x-httpd-php .php
......
......@@ -107,7 +107,7 @@ $form["tabs"]['mailuser'] = array (
0 => array ( 'type' => 'UNIQUE',
'errmsg'=> 'login_error_unique'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-z0-9][\w\.\-_\+@]{1,63}$/',
'regex' => '/^[_a-z0-9][\w\.\-_\+@]{1,63}$/',
'errmsg'=> 'login_error_regex'),
),
'default' => '',
......
Markdown is supported
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