mirror of
https://github.com/pretix/pretix.git
synced 2026-08-20 12:26:27 +00:00
maps issuer_id of giftcard to organizer_id for logging
This commit is contained in:
@@ -130,6 +130,8 @@ class LoggingMixin:
|
||||
organizer_id = self.event.organizer_id
|
||||
elif hasattr(self, 'organizer_id'):
|
||||
organizer_id = self.organizer_id
|
||||
elif hasattr(self, 'issuer_id'):
|
||||
organizer_id = self.issuer_id
|
||||
|
||||
if user and not user.is_authenticated:
|
||||
user = None
|
||||
|
||||
Reference in New Issue
Block a user