Display custom error message
-
Hi,
I am checking for th proper age of a user with the functionlogin_with_vipps_authenticate_user
and it works great where I deny access to the user with returning false in the function.
Now I would like to add a custom (Age not proper for an example) error message to the login screen and replace the current emssage I get whih is'Could not find any user with your registered email. Cannot log in.'
.
What filter/hook/action could I use for that?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Display custom error message’ is closed to new replies.