From f39f734359ba1d0479ff6d59c6b80cb2061ca22a Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 24 Oct 2022 13:45:42 +0200 Subject: [PATCH] fix: isActive --- src/Controller/SecurityController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php index d288bd8..41ff737 100755 --- a/src/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -135,9 +135,6 @@ class SecurityController extends AbstractController $user = $this->submituser($username, $firstname, $lastname, $email, $avatar, $niveau01, $em); $user = $em->getRepository('App\Entity\Group')->calculateSSOGroup($user, $attributes); } elseif ($this->getParameter('casAutoupdate')) { - if (!$user->Isactive()) { - return $this->redirect($this->generateUrl('app_noperm')); - } $this->submitSSONiveau01($attributes, $em); $this->submitSSOGroup($attributes, $em); $this->updateuser($user, $firstname, $lastname, $email, $avatar, $em); -- 2.17.1