fdsfsd
This commit is contained in:
parent
08b4773941
commit
9a8eed5e04
7 changed files with 18 additions and 13 deletions
|
@ -125,7 +125,7 @@ def front_all(v):
|
|||
|
||||
if not v and request.path == "/" and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}")
|
||||
|
||||
if v and v.is_banned and not v.unban_utc: return render_template('errors/500.html', v=v), 500
|
||||
if v and v.is_banned and not v.unban_utc: return render_template('errors/500.html', error=True, v=v), 500
|
||||
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue