From a81cbfc4e9b3e5b5462bc50618791cd45c9882ef Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 7 Nov 2013 16:49:38 +0800 Subject: Bug 935570: add ProjectHoneyPot protection --- Bugzilla/User.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/User.pm') 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); -- cgit v1.2.3-24-g4f1b