]> git.ipfire.org Git - pbs.git/commit
web: Go back to statically set current_user
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Jan 2025 17:17:06 +0000 (17:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Jan 2025 17:24:49 +0000 (17:24 +0000)
commit44aa5d2d65815009420d9ee1dc6e23f94893fcf3
tree8c0fe66081c4705a402a91ffa27ef04b677e927f
parente0982ba0f8f47eae227d78c5fa857e08773b4951
web: Go back to statically set current_user

This changes it so that we will always try to log in the user. That way,
we don't have to always call the get_current_user() function which makes
the code rather messy.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/auth.py
src/web/base.py
src/web/builders.py
src/web/builds.py
src/web/packages.py
src/web/repos.py
src/web/uploads.py