forked from MarseyWorld/MarseyWorld
fdssdf
parent
98b6cc7f22
commit
c9be301462
|
@ -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…
Reference in New Issue