feat(register): assign role after register
This commit is contained in:
parent
bfce7b14ff
commit
cdb252bbba
@ -134,6 +134,8 @@ public function auth()
|
||||
|
||||
auth()->login($user);
|
||||
|
||||
$user->assignRole('Customer');
|
||||
|
||||
$user->sendEmailVerificationNotification();
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user