]> git.ipfire.org Git - pbs.git/commit
web: Log in the user before checking the XSRF cookie
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jan 2025 12:05:49 +0000 (12:05 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jan 2025 12:05:49 +0000 (12:05 +0000)
commit14fbe937aec7b7de7ed0af62a79d51526acc4316
tree6937feca955f2d7eecc6c5e64cf401107b362a04
parentd458db3fb1276b8952a48886fd932d4b30bb78c1
web: Log in the user before checking the XSRF cookie

In case the cookie validation fails, we need to be able to send an error
message which accesses current_user.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/base.py