Commit 16816130 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Bug dans l'adapter Shib

parent 919b2747
......@@ -86,16 +86,6 @@ class Shib extends AbstractAdapter
return false;
}
/* DS : modification liée à une boucle infinie lors de l'authentification CAS */
if ($this->isSatisfied()) {
$storage = $this->getStorage()->read();
$event
->setIdentity($storage['identity'])
->setCode(AuthenticationResult::SUCCESS)
->setMessages(['Authentication successful.']);
return true;
}
$shibUser = $this->shibService->getAuthenticatedUser();
if ($shibUser === null) {
......
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