Manual:Hooks/AbortAutoAccount

Details

 * $user: the User object about to be created (read-only, incomplete)
 * &$abortMsg: out parameter: name of error message to be displayed to user

Return false to cancel automated local account creation.