From 7171f3c449911390069d1693022ef79a41ffafd9 Mon Sep 17 00:00:00 2001 From: Lupu Gheorghe Date: Tue, 5 Dec 2023 15:06:36 +0200 Subject: [PATCH] fix --- app/Http/Controllers/Auth/RegisteredUserController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php index 456e6817..88910c3e 100644 --- a/app/Http/Controllers/Auth/RegisteredUserController.php +++ b/app/Http/Controllers/Auth/RegisteredUserController.php @@ -54,7 +54,6 @@ public function store(RegistrationRequest $request): RedirectResponse if ($user->hasRole(UserRole::ADMIN)) { $attributes['ngo']['status'] = OrganizationStatus::draft; $attributes['ngo']['slug'] = Str::slug($attributes['ngo']['name']); - $attributes['ngo']['user_id'] = $user->id; $organization = Organization::create($attributes['ngo']);