Revert "Update auth.php"

The valid_email check is only applicable when user identity is email.When identity is username, this validation rule is not applicable.