mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-23 08:32:45 -05:00
[PR #6852] [MERGED] hide remember 2fa token #7489
Reference in New Issue
Block a user
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.