Manual:Hooks/AbortNewAccount

Details

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

Return false to cancel account creation.