mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-20 19:01:52 +08:00
- Gate dev auth bypass on AB_DEV_NO_AUTH=1 (was: any non-CI build), warn loudly when on - WebAuthn rp_id/origin from settings when set; LRU-cap the service cache; match challenge by clientDataJSON - Passkey: enforce login-IP whitelist, remove user enumeration, stop echoing str(e) in 500s - Auth: migrate session/JWT on username change; guard decode_token(None); logout is POST + samesite=strict cookie - Setup: require default admin account before pre-auth /setup/complete - JWT secret written 0600; move IP-allowlist helper into module/security (new ip_allowlist.py) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014w1Z6Nxy6XTRgkFXqPr9Zh