From bdaad42eba152ce8f3d9f86962a51c3c2d8dd7c6 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 22 Jan 2024 12:43:32 +0000 Subject: [PATCH] Rename UNIAUTH_URL setting --- agenda/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda/auth.py b/agenda/auth.py index fc75d08..925ead3 100644 --- a/agenda/auth.py +++ b/agenda/auth.py @@ -28,5 +28,5 @@ def require_authentication() -> werkzeug.Response | None: return ( None if token and verify_auth_token(token) - else flask.redirect(flask.current_app.config["UNIAUTH_LOGIN_URL"]) + else flask.redirect(flask.current_app.config["UNIAUTH_URL"] + "/login") )