-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Login - Entering incorrect and short password will return wrong error message #4292
Comments
Triggered auto assignment to @joelbettner ( |
The API's returning Status |
@isagoico just to confirm, this happened when you were attempting to log in with gI3utest@gmail.com, correct? (I can't tell if the second letter is a lower-case "L" or an upper-case "I") |
Mm let me confirm with the tester. I was also able to reproduce this with my account isagoicotest@gmail.com Edit: is a lowercase L |
I think I found the logs for this: I'm confused, though. It is showing that we threw a
That leads me to believe that, even though the password is being entered, it is not being passed to the backend for authentication. However, if that were the case, nobody would be able to enter a password and log in. So...I'm really not sure what is causing this at the moment. |
This is also reproducible when entering 1 or 2 characters in the password field. As a side note, I'm also able to log with with my account (isagoicotest@gmail.com) when entering the correct password. |
So, there is a threshold over which the correct error message is shown. I'll keep digging, but something funky is happening here... |
Ok...I've found out what is going on... The WAF is preventing passwords that are less than 4 characters from being passed from a client to the API, and in that case simply passes an empty password: I've got a fix coming... |
@joelbettner issue is fixed! I think we are good to close this one 🎉 |
@joelbettner Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@joelbettner Still overdue 6 days?! Let's take care of this! |
@joelbettner 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
User gets error saying password is incorrect or password is too short
Actual Result:
User gets 2FA error which is unrelated to the issue
Workaround:
N/A
Platform:
Where is this issue occurring?
Version Number: 1.0.81-2
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: