PPv2: Default pretix_paypal_token_hash_cycle to 1 and not 0

This commit is contained in:
Martin Gross
2022-07-04 16:51:52 +02:00
parent cee72b5a6d
commit 0faf245290
2 changed files with 2 additions and 2 deletions

View File

@@ -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', 0)
cache.set('pretix_paypal_token_hash_cycle', 1)
gs = GlobalSettingsObject()
prov = Paypal(event)