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
From MediaWiki 1.27 on, the hook is deprecated and superseded by AuthManager functionality. Any logic in it should probably be moved to a class implementing, into the   and   methods.