mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-30 16:39:33 +01:00
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>
646 B
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.