Files
Codeman/.changeset/auth-no-header-not-counted.md
T
Kamil KaliszandClaude Opus 5.5 cc2b7d9c25 docs(auth): list the no-header step after the Basic check; changeset
The pipeline list said it "runs in this order" but put the no-header
challenge before the HTTP Basic check, while single-user auth.ts checks
the correct password first. Swap steps 3 and 4. Note in the README and
the Security / Remote-Access wiki pages that a request with no
credentials is never counted, and add the patch changeset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 00:08:26 +01:00

646 B

aicodeman
aicodeman
patch

A request with no Authorization header always gets the 401 login challenge and is no longer counted as a failed login. After a server restart (cookie sessions live in memory) an open tab's background requests carry only the dead cookie; ten of them used to fill the per-IP bucket in seconds, and the 429 that followed carries no challenge, so the browser never asked for the password again and every user behind the same tunnel IP was locked out for the 15-minute decay. Wrong passwords and malformed Authorization headers are still counted and rate-limited as before, in both single-user and multi-user mode.