php - How to check which one of the username or password is incorrect? -
i want check 1 of username or password incorrect in single mysql query.
scenario:
when user types username , password , clicks submit, want show error message 1 incorrect. need simple , optimized query this.
as general rule of thumb it's better return message user saying "the username or password incorrect" wouldn't indicate attacker if username or password wrong.
Comments
Post a Comment