+ Start a Discussion

Error message when entered incorrect password

 Hi we are having a custom login page for the users and the issue is when a user enters an incorrect password, the page just refreshes and its not throwing any error message , I need to see a message like "The password you entered was incorrect" when the password is incorrect.


Need help on how i can check with the stored password and the enterd one.





Best Answer chosen by Admin (Salesforce Developers) 
Baktash H.Baktash H.

You may need to write a controller which does that.

Then using apex page messages to display the error message.