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

[FIX] Bug dans l'adapter Shib

parent 919b2747
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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) {