fix: isActive (#7)
Cadoles/nineskeletor/pipeline/head Something is wrong with the build of this commit
Details
Cadoles/nineskeletor/pipeline/head Something is wrong with the build of this commit
Details
Co-authored-by: Arnaud Fornerot <afornerot@cadoles.com> Reviewed-on: #7
This commit is contained in:
parent
928109fdf5
commit
19fa75e2eb
|
@ -135,9 +135,6 @@ class SecurityController extends AbstractController
|
||||||
$user = $this->submituser($username, $firstname, $lastname, $email, $avatar, $niveau01, $em);
|
$user = $this->submituser($username, $firstname, $lastname, $email, $avatar, $niveau01, $em);
|
||||||
$user = $em->getRepository('App\Entity\Group')->calculateSSOGroup($user, $attributes);
|
$user = $em->getRepository('App\Entity\Group')->calculateSSOGroup($user, $attributes);
|
||||||
} elseif ($this->getParameter('casAutoupdate')) {
|
} elseif ($this->getParameter('casAutoupdate')) {
|
||||||
if (!$user->Isactive()) {
|
|
||||||
return $this->redirect($this->generateUrl('app_noperm'));
|
|
||||||
}
|
|
||||||
$this->submitSSONiveau01($attributes, $em);
|
$this->submitSSONiveau01($attributes, $em);
|
||||||
$this->submitSSOGroup($attributes, $em);
|
$this->submitSSOGroup($attributes, $em);
|
||||||
$this->updateuser($user, $firstname, $lastname, $email, $avatar, $em);
|
$this->updateuser($user, $firstname, $lastname, $email, $avatar, $em);
|
||||||
|
|
Loading…
Reference in New Issue