From 3a9b1ecb3ee43e3d23306d797ee27be303138877 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 14 Dec 2021 20:32:22 +0200 Subject: [PATCH] fdsdsf --- files/helpers/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index ad1e4db5f..83c610b86 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -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)