mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Manual payment: Fix using hidden method for existing order (#5850)
This commit is contained in:
@@ -97,7 +97,8 @@ class UnlockHashView(EventViewMixin, View):
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
hashes = request.session.get('pretix_unlock_hashes', [])
|
||||
hashes.append(kwargs.get('hash'))
|
||||
if kwargs.get('hash') not in hashes:
|
||||
hashes.append(kwargs.get('hash'))
|
||||
request.session['pretix_unlock_hashes'] = hashes
|
||||
|
||||
if 'voucher' in request.GET:
|
||||
|
||||
Reference in New Issue
Block a user