diff options
author | lpsolit%gmail.com <> | 2006-05-08 05:13:47 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-05-08 05:13:47 +0200 |
commit | ece3a7ec4685b281efee69286a4dbdeb44971661 (patch) | |
tree | a7cf408860ea24421ded09f46dc4d680cc5f19fa /editusers.cgi | |
parent | 46c78a8c7c42bfdf47ee1f68939aa122371b9662 (diff) | |
download | bugzilla-ece3a7ec4685b281efee69286a4dbdeb44971661.tar.gz bugzilla-ece3a7ec4685b281efee69286a4dbdeb44971661.tar.xz |
Bug 332598: Move ValidatePassword() and DBNameToIdAndCheck() from globals.pl into User.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi index c5e67e28b..df31c8a4f 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -209,7 +209,7 @@ if ($action eq 'search') { || ThrowUserError('illegal_email_address', {addr => $login}); is_available_username($login) || ThrowUserError('account_exists', {email => $login}); - ValidatePassword($password); + validate_password($password); # Login and password are validated now, and realname and disabledtext # are allowed to contain anything @@ -296,7 +296,7 @@ if ($action eq 'search') { } if ($password) { # Validate, then trick_taint. - ValidatePassword($password) if $password; + validate_password($password) if $password; trick_taint($password); push(@changedFields, 'cryptpassword'); push(@values, bz_crypt($password)); |