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

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

parent 4a1fe662
Pipeline #10155 passed with stage
in 18 seconds
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment