Rename UNIAUTH_URL setting
This commit is contained in:
parent
389092cbb4
commit
bdaad42eba
|
@ -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")
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue