Compare commits

..

No commits in common. "8f175919956d2f0454ecab4c93585639af41cf23" and "d0066c6f961d642d94bdec1ebdee2b39d8115167" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -564,7 +564,7 @@ class SynchroUsersCommand extends Command
$this->writeln($group->getName());
$usergroups=[];
if(array_key_exists($group->getIdexternal(),$tabgroups)&&$tabgroups[$group->getIdexternal()])
if($tabgroups[$group->getIdexternal()])
$usergroups = $tabgroups[$group->getIdexternal()]["users"];
$tbusers=[];
foreach($usergroups as $user) {

View File

@ -37,9 +37,6 @@ class SecurityController extends AbstractController
}
public function loginMYSQL(Request $request, AuthenticationUtils $authenticationUtils) {
// activer les activités par défaut
$this->get('session')->set('activeactivity',true);
return $this->render('Home/login.html.twig', array(
'last_username' => $authenticationUtils->getLastUsername(),
'error' => $authenticationUtils->getLastAuthenticationError(),
@ -120,8 +117,6 @@ class SecurityController extends AbstractController
$this->updateLDAP($user);
}
// activer les activités par défaut
$this->get('session')->set('activeactivity',true);
// Autoconnexion
// Récupérer le token de l'utilisateur