Wrong error message for invalid entry in password reset form
-
Wrong error message for invalid entry in password reset form
Hello!
I use the setting ” login only by mail address”. If no mail address is entered in the “Reset password” form, an inappropriate error message appears:
When selecting “username and mail address” the display changes, but the error message remains with “username”.
For the first case, I think the message can be correctly displayed with an additional if-query (“no valid mail address entered”).
For the second case you would have to invest a bit more code to identify both forms (username or mail address) clearly. But there it would be more accurate if something like “Invalid input for username or mail address” would be displayed.
Thanks a lot!
- The topic ‘Wrong error message for invalid entry in password reset form’ is closed to new replies.