done lots of work till now

This commit is contained in:
ghassan committed 2026-01-28 03:37:51 +03:00
1 parent a7434e33d7
commit c87c4bfd6d
10 files changed
+256 -116

No files matched your search

@@ -56,6 +56,11 @@ class RegisteredUserController extends Controller
'nationality' => $request->nationality,
]);
// Assign super-admin role to the first registered user
if (User::count() === 1) {
$user->assignRole('super-admin');
}
event(new Registered($user));
// Send welcome email