-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REST] Change "user not found" to "$1 or password wrong" #9407
Comments
Hi @soundstorm I disagree with differentiating between "password wrong" and "user doesn't exist" (which would enable an attacker to check whether a username already exists which could be a privacy issue). Yet I agree with you that the wording is rather unfortunate. I'd suggest something along the lines of
Cheers |
@TwizzyDizzy meant "User not found or password wrong", regular frontend login retuns a message like this, but when using the API like in our apps it just retuns that the user is nonexisting, which is confusing. So we just need to match those phrases or replace it with the sentence you recommended. |
@soundstorm Which app are you using? This seems to be a client issue when showing a friendly message to the user and not a REST problem |
Our server does not return Corrent example is:
Response:
How client would handle this message is not responsibility of the REST interface. We reply So I'll close this issue, please let me know if I missed something. |
Some users are trying to login via App and perhaps mistype their password.
We're just yielding "user not found" in every case of user/pw mismatch, changing that message to "user not found or password wrong" as on web frontend would be better.
The text was updated successfully, but these errors were encountered: