This question already has an answer here:
On the default FBA Login Page, when a user enters wrong username/password an error message gets displayed:
"The server could not sign you in. Make sure your Username and Password are correct, and then try again.".
I want to change this error message dynamically according to requirement.
'Invalid Username or Password', 'Your account has been locked'