I noticed that when some form fields like captcha or other fields are invalid, the username field is authenticated and throws the message 'Unrecognized username or password.' I don't want this message to be displayed to the user.

So I wrote the following patch to check if the form has no other errors, then throws the invalid username error.

CommentFileSizeAuthor
check-form-error.patch845 bytesamir jamshidi

Comments

amir jamshidi created an issue. See original summary.

astonvictor’s picture

Status: Active » Closed (works as designed)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.