forked from CGM_Public/pretix_original
PPv2/ISU: Set cache token forever/non-expiring
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user