fix: require password confirmation to disable 2FA, enhancing security against session hijacking

This commit is contained in:
Usman Baig
2026-02-23 11:35:02 +01:00
parent 2889b0bb0a
commit b54af6c03a
2 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
## [Unreleased]
### Fixed
- **2FA disable now requires password confirmation.** Disabling 2FA sends the derived password to the backend for verification. This prevents an attacker with a hijacked session from stripping 2FA.
## [0.11.1-alpha] - 2026-02-23
### Changed