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/

Commit ae9fc5bc authored by Francois Gannaz's avatar Francois Gannaz
Browse files

getRedirectUrl() is shared between user and institution

parent 6395df08
......@@ -86,9 +86,4 @@ class institution extends moodlefetcher
];
return $this->fetcher->encodeJwtToken('/v1/redirect', $payload);
}
public function getRedirectUrl() : string {
global $CFG;
return rtrim($CFG->labnbook_api_url, '/') . '/v1/redirect';
}
}
......@@ -51,4 +51,9 @@ abstract class moodlefetcher
}
abstract protected function getSigningKey() : string;
public function getRedirectUrl() : string {
global $CFG;
return rtrim($CFG->labnbook_api_url, '/') . '/v1/redirect';
}
}
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