allow - in user pref email, RT#30664
[freeside.git] / httemplate / pref / pref.html
index 56cf550..3508907 100644 (file)
@@ -295,7 +295,7 @@ $customer_views{'Jumbo'} = 'jumbo';
   =~ /^(\w+)$/ or die "illegal menu_position";
 my $menu_position = $1;
 ( $curuser->option('email_address') )
-  =~ /^([,\w\@.]*)$/ or die "illegal email_address";  #too late
+  =~ /^([,\w\@.\-]*)$/ or die "illegal email_address";  #too late
 my $email_address = $1;
 
 </%init>