Add default role when user is created by an admin
This commit is contained in:
@@ -79,6 +79,7 @@ class UserController extends Controller
|
||||
"password" => Hash::make($password),
|
||||
"lastname" => $request["lastname"],
|
||||
"validate" => 1,
|
||||
"role" => 3,
|
||||
"phone" => $phone->formatInternational(),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user