diff options
author | Byron Jones <bjones@mozilla.com> | 2013-11-07 09:49:38 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-11-07 09:49:38 +0100 |
commit | a81cbfc4e9b3e5b5462bc50618791cd45c9882ef (patch) | |
tree | 7576109f95dd645d33319716305e5fea716494f2 /Bugzilla | |
parent | 4a3a96c3596a5510286034570489f21540a6f23c (diff) | |
download | bugzilla-a81cbfc4e9b3e5b5462bc50618791cd45c9882ef.tar.gz bugzilla-a81cbfc4e9b3e5b5462bc50618791cd45c9882ef.tar.xz |
Bug 935570: add ProjectHoneyPot protection
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/User.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 946fe8cb1..4e4489935 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -2074,6 +2074,9 @@ sub check_and_send_account_creation_confirmation { ThrowUserError('account_creation_restricted'); } + # BMO - add a hook to allow extra validation prior to account creation. + Bugzilla::Hook::process("user_verify_login", { login => $login }); + # Create and send a token for this new account. require Bugzilla::Token; Bugzilla::Token::issue_new_user_account_token($login); |