mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
PPv2/ISU: Set cache token forever/non-expiring
This commit is contained in:
@@ -211,7 +211,7 @@ def isu_return(request, *args, **kwargs):
|
||||
try:
|
||||
cache.incr('pretix_paypal_token_hash_cycle')
|
||||
except ValueError:
|
||||
cache.set('pretix_paypal_token_hash_cycle', 1)
|
||||
cache.set('pretix_paypal_token_hash_cycle', 1, None)
|
||||
|
||||
gs = GlobalSettingsObject()
|
||||
prov = Paypal(event)
|
||||
|
||||
Reference in New Issue
Block a user