mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-11 19:37:55 +00:00
Failed comparisons for missing accounts all used the same fake hash, so their cached results returned quickly while failures for real accounts did not, leaking which usernames exist. Cache only successful comparisons and scope cache keys to the username. Addresses scan report 430e037dbf6a4fd3. Code written by GitHub Copilot (GPT-6.1 Sol, Claude Opus 5.5); reviewed by mholt. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>