remotes/1693045480750635534/spooky-22
Aevann1 2021-12-14 20:32:22 +02:00
parent c1fb41c696
commit 3a9b1ecb3e
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):
if request.host == 'old.rdrama.net' and not (v and v.admin_level) and '/login' 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)