mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +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:
|
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