Add default role when user is created by an admin

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2026-02-11 14:51:28 +01:00
parent 5e232fd0af
commit c74690f68b
+1
View File
@@ -79,6 +79,7 @@ class UserController extends Controller
"password" => Hash::make($password),
"lastname" => $request["lastname"],
"validate" => 1,
"role" => 3,
"phone" => $phone->formatInternational(),
]);