mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
Mirror the TOTP login path: both the security-key verify and verify-options routes now reject any challenge whose kind is not "login" with the same generic 401, so a future step-up or non-login challenge can never mint a login session through these endpoints. Set the registration and authentication ceremonies to userVerification:"required" to match the server's UV enforcement — a key that passes the browser but skips UV would otherwise fail server-side.