Commit 3f5c91a5 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] La validation du formulaire d'authentification était zappée

parent 4a1fe662
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ class AuthController extends AbstractActionController
        $form->initFromRequest($request);

        // si le formulaire POSTé ne possède aucun champ identifiant, on va directement à authenticateAction()
        if ($request->isPost() and ! $request->getPost()->get('identity')) {
        if ($request->isPost() and ! $request->getPost()->offsetExists('identity')) {
            return $this->redirect()->toRoute('zfcuser/authenticate', [], ['query' => $this->params()->fromQuery()], true);
        }