forked from rDrama/rDrama
1
0
Fork 0

remove cookie shit

master
Aevann 2023-06-22 14:15:41 +03:00
parent 9cf1d7c712
commit e50bbe0da0
1 changed files with 0 additions and 10 deletions

View File

@ -68,16 +68,6 @@ def after_request(response:Response):
if user_id:
r.delete(f'LIMITER/{SITE}-{user_id}/{request.endpoint}:{request.path}/1/1/second')
counter = 0
for key in request.cookies.keys():
if key == app.config["SESSION_COOKIE_NAME"]:
counter += 1
elif key != "cf_clearance":
response.delete_cookie(key)
if counter > 1:
print(request.cookies.keys(), flush=True)
return response