This commit is contained in:
Aevann1 2022-01-12 00:57:05 +02:00
parent c8f3a39355
commit 7a5aac2a63
4 changed files with 5 additions and 5 deletions

View file

@ -121,7 +121,7 @@ def notifications(v):
@app.get("/")
@app.get("/logged_out")
@auth_required
@auth_desired
def front_all(v):
if not v and request.path == "/" and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}")