diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-08-12 20:54:59 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-08-12 20:54:59 +0200 |
commit | faf5ee649261c08d8e9b1c8de8cb3cb6311c8b4b (patch) | |
tree | fa7fb1a507437ff8086789ae835d6459b08ede99 /Bugzilla/User.pm | |
parent | c3de43ee18240e8364fae0e9caeeda8cdff8f986 (diff) | |
parent | e651ee9c34ca40afdd4582902c1656ea577a4fc3 (diff) | |
download | bugzilla-faf5ee649261c08d8e9b1c8de8cb3cb6311c8b4b.tar.gz bugzilla-faf5ee649261c08d8e9b1c8de8cb3cb6311c8b4b.tar.xz |
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index f1803ac79..9261bd780 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -2115,7 +2115,7 @@ sub validate_password { my $complexity_level = Bugzilla->params->{password_complexity}; if ($complexity_level eq 'letters_numbers_specialchars') { ThrowUserError('password_not_complex') - if ($password !~ /\w/ || $password !~ /\d/ || $password !~ /[[:punct:]]/); + if ($password !~ /[[:alpha:]]/ || $password !~ /\d/ || $password !~ /[[:punct:]]/); } elsif ($complexity_level eq 'letters_numbers') { ThrowUserError('password_not_complex') if ($password !~ /[[:lower:]]/ || $password !~ /[[:upper:]]/ || $password !~ /\d/); |