mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[PR #6852] [MERGED] hide remember 2fa token #3859
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#3859
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6852
Author: @stefan0xC
Created: 2/19/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @BlackDex
Base:
main← Head:hide-2fa-remember📝 Commits (1)
642d3e5hide remember 2fa token📊 Changes
2 files changed (+8 additions, -0 deletions)
View changed files
📝
src/api/web.rs(+1 -0)📝
src/static/templates/scss/vaultwarden.scss.hbs(+7 -0)📄 Description
when

DISABLE_2FA_REMEMBER=truethere is no reason to show the checkbox to remember the second factor for 30 days as it should not do anything (as discussed in #6849).I have not checked if this works with all 2FA providers and I plan to also make this position independent in the next web-vault release to make sure that this does not hide the wrong element
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.