function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shinyshiny 

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.