From e9adcde4648b54db8d40f314ca938dca5080bb9c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 15 Sep 2017 14:30:40 -0400 Subject: Bug 1391702 - Replace Bugzilla::User::validate_password() with calls to Data::Password::passwdqc --- Bugzilla/WebService/Constants.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Bugzilla/WebService') diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 3f5042f42..93fddfc2b 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -143,8 +143,7 @@ use constant WS_ERROR_CODE => { auth_invalid_email => 302, extern_id_conflict => -303, auth_failure => 304, - password_too_short => 305, - password_not_complex => 305, + password_insecure => 305, api_key_not_valid => 306, api_key_revoked => 306, auth_invalid_token => 307, @@ -159,7 +158,7 @@ use constant WS_ERROR_CODE => { auth_cant_create_account => 501, account_creation_disabled => 501, account_creation_restricted => 501, - password_too_short => 502, + # Error 502 password_too_short no longer exists. # Error 503 password_too_long no longer exists. invalid_username => 504, # This is from strict_isolation, but it also basically means -- cgit v1.2.3-24-g4f1b