Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
3f5c91a5
Commit
3f5c91a5
authored
Jun 28, 2021
by
Bertrand Gauthier
Browse files
[FIX] La validation du formulaire d'authentification était zappée
parent
4a1fe662
Pipeline
#10155
passed with stage
in 18 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Controller/AuthController.php
View file @
3f5c91a5
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment