Logging in returns to the page that was asked for (closes #384) #406

Merged
clawbot merged 1 commits from issue-384-login-returns into next 2026-10-02 06:57:52 +02:00
1 Commits
Author SHA1 Message Date
sneak e5d47e5688 Logging in returns to the page that was asked for (closes #384)
check / check (push) Successful in 4m35s
RequireAuth now sends a logged-out GET to /pages/login with its path
and query in a `next` parameter when they fit in 2048 bytes, the same
limit the login page applies. The login form carries it as a hidden
field, and a successful login redirects there when it is a path on
this site; anything else, plain or percent-encoded, goes to `/`, which
leads to the webhook list. A browser already logged in that opens the
login page goes to the same place. The navigation bar on the login
page no longer links to the login page.

Model: opus-5-5
2026-10-02 04:43:25 +00:00