forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-12-14 21:34:31 +02:00
parent 98b6cc7f22
commit c9be301462
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def auth_desired(f):
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
else: return render_template('errors/403.html', v=v), 403
check_ban_evade(v)