summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/admin/modules/mailbox/validate/create.yml4
-rw-r--r--apps/admin/modules/mailbox/validate/edit.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/admin/modules/mailbox/validate/create.yml b/apps/admin/modules/mailbox/validate/create.yml
index 3668321..20163c8 100644
--- a/apps/admin/modules/mailbox/validate/create.yml
+++ b/apps/admin/modules/mailbox/validate/create.yml
@@ -26,8 +26,8 @@ fields:
myStringValidator:
sfRegexValidator:
match:..........Yes
- match_error: 'The characters ".,;/" are not allowed'
- pattern: '/[^.,;\/]$/i'
+ match_error: 'The characters ".,;@/" are not allowed'
+ pattern: '/^[^\.,;@\/]+$/i'
myDenyStringValidator:
values: [<?php echo implode(', ',sfConfig::get('app_mailbox_deny_names')) ?>]
values_error: This Username is not allowed
diff --git a/apps/admin/modules/mailbox/validate/edit.yml b/apps/admin/modules/mailbox/validate/edit.yml
index 1629a9d..0802e39 100644
--- a/apps/admin/modules/mailbox/validate/edit.yml
+++ b/apps/admin/modules/mailbox/validate/edit.yml
@@ -26,8 +26,8 @@ fields:
myStringValidator:
sfRegexValidator:
match:..........Yes
- match_error: 'The characters ".,;/" are not allowed'
- pattern: '/[^.,;\/]$/i'
+ match_error: 'The characters ".,;@/" are not allowed'
+ pattern: '/^[^\.,;@\/]+$/i'
myDenyStringValidator:
values: [<?php echo implode(', ',sfConfig::get('app_mailbox_deny_names')) ?>]
values_error: This Username is not allowed