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 e78b1d22 authored by David Beniamine's avatar David Beniamine
Browse files

Avoid duplicate wwwroot

parent 7e47317d
......@@ -23,5 +23,5 @@ $isTeacher = has_capability('mod/labnbook:addinstance', $context);
$role = ($isTeacher ? 'teacher' : 'learner');
global $USER;
$url = $fetchInstitution->getRedirectUrl();
$token=$fetchInstitution->getBindingTokenForRedirect($CFG->wwwroot . $returnUrl, $role, $USER);
$token=$fetchInstitution->getBindingTokenForRedirect($returnUrl, $role, $USER);
redirect($url."?token=".$token);
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