From 98133c0c3cf7e401cf5b85f7c4e9298bfcb4d00a Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 24 Nov 2021 19:48:40 +0800 Subject: New config entry "jimbrella_dir" Add explanation for jimbrella_dir --- jimbrella/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jimbrella/admin.py') diff --git a/jimbrella/admin.py b/jimbrella/admin.py index eaf0e54..49cbf55 100644 --- a/jimbrella/admin.py +++ b/jimbrella/admin.py @@ -17,7 +17,7 @@ def check_privilege(): # only clients who have obtained a session and sent it in the Cookie header # will have a decryptable username here if "username" not in session: - return redirect(url_for("auth.login")) + return redirect(url_for("auth.auth", action="login")) username = session["username"] user = users.find(username) # under normal circumstances it must exist -- cgit v1.2.3