diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-05-31 13:28:33 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-05-31 13:28:33 -0700 |
| commit | 8730161d33270f760e1718184380e8996c8deef8 (patch) | |
| tree | ed24f152dde0e5cbfdce69788c7206262376ba1d | |
| parent | 16ffa8d9479d9ade204cdf3fdf73801eb4985002 (diff) | |
allow self-service logins with a + in email address
| -rwxr-xr-x | fs_selfservice/FS-SelfService/cgi/selfservice.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi index 3915dca28..cd9e32c78 100755 --- a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi +++ b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi @@ -128,7 +128,7 @@ unless ( $nologin_actions{$action} ) { $cgi->param('password') =~ /^(.{0,$form_max})$/; my $password = $1; - if ( $cgi->param('email') =~ /^\s*([a-z0-9_\-\.\@]{1,$form_max})\s*$/i ) { + if ( $cgi->param('email') =~ /^\s*([a-z0-9_\-\.\+\@]{1,$form_max})\s*$/i ) { my $email = $1; $login_rv = login( |
