aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/reach.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-08 15:35:25 +0000
committertv <tv@krebsco.de>2026-11-08 16:47:09 +0100
commitd48aa13cad73030095fd2677ec0b4cea95912eba (patch)
treeedad18049cb63989e9c38f72c2e1c9bfd15f4608 /src/simtest/reach.rs
parent4acb78f3bec2f82d8d0a6b2ad3f9f328aa10c98a (diff)
auth: no password prompt over the dashboard's own requests
Opening a dashboard through its login page showed a 401 on /auth/login and the browser's password prompt. The page asked for its token by the browser's password first (POST /auth/login), with none to send, and the 401 carried a Basic challenge, which a browser answers with its prompt. The page now asks by its session first (POST /auth/session), then by the browser's password or the proxy's. And a 401 to a page's own requests (Sec-Fetch-Dest: empty: fetch, EventSource) carries no challenge: a page has its login of its own. Navigations and clients without the header (curl) are still challenged.
Diffstat (limited to 'src/simtest/reach.rs')
0 files changed, 0 insertions, 0 deletions