forked from rDrama/rDrama
disable cookie clearing on wpd in case thats what caused the issue
parent
03d6be7627
commit
15e445b01b
|
@ -68,6 +68,7 @@ def after_request(response:Response):
|
|||
if user_id:
|
||||
redis_instance.delete(f'LIMITER/{SITE}-{user_id}/{request.endpoint}:{request.path}/1/1/second')
|
||||
|
||||
if SITE != 'watchpeopledie.tv':
|
||||
cookie_name = app.config["SESSION_COOKIE_NAME"]
|
||||
if len(request.cookies.getlist(cookie_name)) > 1:
|
||||
response.set_cookie(cookie_name, 'test', max_age=0, domain=f".{SITE}")
|
||||
|
|
Loading…
Reference in New Issue