diff options
author | travis%sedsystems.ca <> | 2005-02-09 15:42:41 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-09 15:42:41 +0100 |
commit | e564c92b745326a96a74f03eebb4dfd738de03cf (patch) | |
tree | 3bbdf20d22ff34ea02bc5ca63366ac39fd5fca33 /token.cgi | |
parent | f8aeecaf8cd33d87315c5a50be9a762e142062a4 (diff) | |
download | bugzilla-e564c92b745326a96a74f03eebb4dfd738de03cf.tar.gz bugzilla-e564c92b745326a96a74f03eebb4dfd738de03cf.tar.xz |
Bug 280994 : Move ValidateNewUser out of globals.pl
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'token.cgi')
-rwxr-xr-x | token.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -243,7 +243,7 @@ sub changeEmail { } # The new email address should be available as this was # confirmed initially so cancel token if it is not still available - if (! ValidateNewUser($new_email,$old_email)) { + if (! is_available_username($new_email,$old_email)) { $vars->{'email'} = $new_email; # Needed for Bugzilla::Token::Cancel's mail Bugzilla::Token::Cancel($::token,"account_exists"); ThrowUserError("account_exists", { email => $new_email } ); |