From 8c3b50dbf2caec9b7ae92fdc41d9cc47ed2dd6a6 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 13 Nov 2024 18:21:36 +0000 Subject: [PATCH] Added created by Signed-off-by: snipe --- app/Importer/UserImporter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Importer/UserImporter.php b/app/Importer/UserImporter.php index 036bf15c9a..77317b3d09 100644 --- a/app/Importer/UserImporter.php +++ b/app/Importer/UserImporter.php @@ -114,6 +114,7 @@ class UserImporter extends ItemImporter $this->log('No matching user, creating one'); $user = new User(); + $user->created_by = auth()->id(); $user->fill($this->sanitizeItemForStoring($user)); if ($user->save()) {