Identify the login error


I'm using login service as clarified in your tutorial. The service shows the same error messages if the username OR the password is wrong (I added JS on error tab). However, I would like to show different error message for each error. That is, if the username is wrong and the password is correct, the error message should be different than when the username is correct and the password is wrong or when both of them are wrong. I need this not only to display different alerts, but also to block the account after 3 invalid passwords and not any 3 invalid cridentials.

Is there a way to know which one inserted is wrong?

1 person has
this question
This topic is no longer open for comments or replies.