fix: resolve sign-in issue after inactivity by ensuring only valid access tokens trigger redirects, improving user experience

This commit is contained in:
Usman Baig
2026-02-23 18:46:46 +01:00
parent dd9d4c5ac2
commit f62d142adb
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
### Fixed
- **Sign in after inactivity.** Clicking "Sign in" after a period of inactivity no longer does nothing. Previously, stale refresh cookies caused the middleware to redirect away from the login page; now only a valid access token triggers that redirect, so you can complete OAuth sign-in when your session has expired.
- **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