exempt me, part deux

master
Aevann 2023-08-04 19:51:22 +03:00
parent 16e6962f2d
commit 9d3fd84418
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def get_logged_in_user():
v.last_active = timestamp
g.db.add(v)
if not v and SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG' and request.full_path != '/login?nig=a':
if not v and SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG' and request.method == 'GET' and request.full_path != '/login?nig=a':
abort(404)
g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr"))