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();
echo $OUTPUT->footer();
function createUser($user, $isTeacher) {
$fetchInstitution = new fetch\institution();
$success = $fetchInstitution->createUser([
'first_name' => $user->firstname,
'user_name' => $user->lastname,
Supports Markdown
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