Manual:Hooks/AbortNewAccount

Details

 * $user: the User object about to be created (read-only, incomplete)
 * $message: out parameter: error message to display on abort

Deprecated
In MediaWiki 1.27, the hook was deprecated and superseded by AuthManager functionality. It was removed in MediaWiki 1.33. Any logic in it must be moved to a class implementing, into the   and   methods.