diff --git a/backend/backend_api/admin.py b/backend/backend_api/admin.py index 7d1a527..e9541c3 100644 --- a/backend/backend_api/admin.py +++ b/backend/backend_api/admin.py @@ -83,7 +83,7 @@ def export_login_credentials(self, request, obj): status=PresentationParticipation.StatusChoices.PURCHASED): user_credentials.append( SkyroomCredentials(registration.username, registration.password, - registration.user.account.email)) + registration.user.name)) return convert_credentials_to_csv_response(user_credentials) @admin.action(description='Send registration emails') @@ -120,7 +120,7 @@ def export_login_credentials(self, request, obj): status=WorkshopRegistration.StatusChoices.PURCHASED): user_credentials.append( SkyroomCredentials(registration.username, registration.password, - registration.user.account.email)) + registration.user.name)) return convert_credentials_to_csv_response(user_credentials) @admin.action(description='Send registration emails')