From 19fa75e2ebe10523721cb6df8dae1ad8d5561e8a Mon Sep 17 00:00:00 2001 From: afornerot Date: Mon, 24 Oct 2022 13:48:45 +0200 Subject: [PATCH] fix: isActive (#7) Co-authored-by: Arnaud Fornerot Reviewed-on: https://forge.cadoles.com/Cadoles/nineskeletor/pulls/7 --- 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);