Add default role when user is created by an admin
This commit is contained in:
1 parent
5e232fd0af
commit
c74690f68b
1 file changed
+1
@@ -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