Skip to content
Snippets Groups Projects
Commit 4101db63 authored by Florian Schaal's avatar Florian Schaal
Browse files

Fixes #4084 - Mail user cant delete created mail forwarding

parent 4be945bb
No related branches found
No related tags found
No related merge requests found
......@@ -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' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment