[GH-ISSUE #2051] Email 2fa prompt inaccurate #1139

Closed
opened 2026-03-03 02:06:35 +03:00 by kerem · 1 comment
Owner

Originally created by @ninjamonkey198206 on GitHub (Oct 20, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2051

It's a minor annoyance rather than a critical issue.

When enabling 2fa email, and when actually using it, the prompt asks for the 6 digit code regardless of the number set in settings.

If it were me, I'd just remove the number reference entirely to avoid having to code something to pull the configured verification code length.

Originally created by @ninjamonkey198206 on GitHub (Oct 20, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2051 It's a minor annoyance rather than a critical issue. When enabling 2fa email, and when actually using it, the prompt asks for the 6 digit code regardless of the number set in settings. If it were me, I'd just remove the number reference entirely to avoid having to code something to pull the configured verification code length.
kerem closed this issue 2026-03-03 02:06:35 +03:00
Author
Owner

@BlackDex commented on GitHub (Oct 20, 2021):

This is hardcoded into the web-vault. Not something we can easily adjust at runtime/startup.

<!-- gh-comment-id:947866660 --> @BlackDex commented on GitHub (Oct 20, 2021): This is hardcoded into the web-vault. Not something we can easily adjust at runtime/startup.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1139
No description provided.