PPv2/ISU: Set cache token forever/non-expiring

This commit is contained in:
Martin Gross
2022-07-04 17:03:10 +02:00
parent 0faf245290
commit 96b57f9a50

View File

@@ -211,7 +211,7 @@ def isu_return(request, *args, **kwargs):
try: try:
cache.incr('pretix_paypal_token_hash_cycle') cache.incr('pretix_paypal_token_hash_cycle')
except ValueError: except ValueError:
cache.set('pretix_paypal_token_hash_cycle', 1) cache.set('pretix_paypal_token_hash_cycle', 1, None)
gs = GlobalSettingsObject() gs = GlobalSettingsObject()
prov = Paypal(event) prov = Paypal(event)