fdsfds
This commit is contained in:
parent
402b75c0cd
commit
448dd9eda8
1 changed files with 0 additions and 2 deletions
|
@ -123,8 +123,6 @@ def notifications(v):
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def front_all(v):
|
def front_all(v):
|
||||||
|
|
||||||
return render_template("home.html", v=v, listing=[], next_exists=False, sort='hot', t='all', page=1)
|
|
||||||
|
|
||||||
if not v and request.path == "/" and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}")
|
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', error=True, 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue