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") )