mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #1105] "Token number length" is incorrect on login page #781
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#781
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @klausmcm on GitHub (Aug 17, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1105
Subject of the issue
When signing into a vault that has two 2FA enabled using email, the token length shown by the page does not match the length set in the admin settings page
Login page
Admin settings
Your environment
Steps to reproduce
See above for screenshots.
Expected behaviour
In my case, I set the length to 8. The login page should say that a token of length 8 has been emailed.
Actual behaviour
The login page says that a token of length 6 has been emailed.
Relevant logs
@jjlin commented on GitHub (Aug 17, 2020):
The
Enter the 6 digit verification code...message is hardcoded into the clients, so there's nothing that can be done on the bitwarden_rs side. You could potentially rebuild the web vault with a different message, but the mobile clients will still be an issue.I doubt upstream Bitwarden would be receptive to fixing this, unless they can first be convinced to add a customizable length for verification codes. If that's important to you, you could try making a feature request at https://community.bitwarden.com/c/feature-requests/5/.
@klausmcm commented on GitHub (Aug 17, 2020):
That's unfortunate. Maybe that should not be an option to change as an admin at this point then? If the message says that I should expect a 6 digit code then I'd be very surprised to receive a code that's any other length.