From 0a8f7a59f894738d86564874fbabeb1c81f3178d Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 26 Feb 2015 15:27:30 +0100 Subject: Bug 1061271: Add a hook into Bugzilla::User::check_and_send_account_creation_confirmation() r=gerv a=glob --- Bugzilla/Hook.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Bugzilla/Hook.pm') diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index 5abaabc7c..f711907d1 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -1592,6 +1592,24 @@ name), you can get it from here. =back +=head2 user_check_account_creation + +This hook permits you to do extra checks before the creation of a new user +account. This hook is called after email address validation has been done. +Note that this hook can also access the IP address of the requester thanks +to the C subroutine exported by C. + +Params: + +=over + +=item C + +The login of the new account. This is usually an email address, unless the +C parameter is not empty. + +=back + =head2 user_preferences This hook allows you to add additional panels to the User Preferences page, -- cgit v1.2.3-24-g4f1b