Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Verified Commit 93292bd0 authored by David Beniamine's avatar David Beniamine
Browse files

Fix bug on create user

parent b258f2a9
...@@ -72,6 +72,7 @@ echo $OUTPUT->header(); ...@@ -72,6 +72,7 @@ echo $OUTPUT->header();
echo $OUTPUT->footer(); echo $OUTPUT->footer();
function createUser($user, $isTeacher) { function createUser($user, $isTeacher) {
$fetchInstitution = new fetch\institution();
$success = $fetchInstitution->createUser([ $success = $fetchInstitution->createUser([
'first_name' => $user->firstname, 'first_name' => $user->firstname,
'user_name' => $user->lastname, 'user_name' => $user->lastname,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment