Manual:Hooks/AbortAutoAccount

Details

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

Return false to cancel automated local account creation.