Commit 4101db63 authored by Florian Schaal's avatar Florian Schaal
Browse files

Fixes #4084 - Mail user cant delete created mail forwarding

parent 4be945bb
......@@ -69,7 +69,9 @@ $form["tabs"]['mailuser'] = array (
'type' => 'TOLOWER')
),
'validators' => array (
0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'cc_error_isemail'),
0 => array ( 'type' => 'REGEX',
'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}(,\s*\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,}$/i',
'errmsg'=> 'cc_error_isemail'),
),
'default' => '',
'value' => '',
......
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