Rename UNIAUTH_URL setting

This commit is contained in:
Edward Betts 2024-01-22 12:43:32 +00:00
parent 389092cbb4
commit bdaad42eba

View file

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