fdssdf
This commit is contained in:
parent
2466a4a782
commit
0abd7a566f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def auth_desired(f):
|
||||||
|
|
||||||
v = get_logged_in_user()
|
v = get_logged_in_user()
|
||||||
|
|
||||||
if request.host == 'old.rdrama.net' and not (v and v.admin_level) and '/login' not in request.path:
|
if request.host == 'old.rdrama.net' and not (v and v.admin_level) and '/log' not in request.path:
|
||||||
if request.headers.get("Authorization"): return {"error": "403 Forbidden"}, 403
|
if request.headers.get("Authorization"): return {"error": "403 Forbidden"}, 403
|
||||||
else: return render_template('errors/403.html', v=v), 403
|
else: return render_template('errors/403.html', v=v), 403
|
||||||
check_ban_evade(v)
|
check_ban_evade(v)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue