Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
src/components/Login/PasswordLogin.js: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: A lockout guard on the Lost Password path was removed, allowing password reset attempts during lockout and undermining brute-force protection.
Auth Bypass: An inverted condition (using !EnableTokenAuth instead of EnableTokenAuth) could hide the password field when token auth was enabled, creating a potential bypass.
Auth Bypass: The lockout timer was extended from 180000ms to 600000ms, but this only slows brute-force; the lockout logic itself is still fragile given other fixes.