BUGFIX: when loggin in automagically you still needed to login

This commit is contained in:
Jeroen De Meerleer 2022-06-08 10:19:34 +02:00
parent a5c8087ea4
commit 71fd28a170
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class SecurityController extends AbstractController
{
public function loginAction(Request $request, AuthenticationUtils $authenticationUtils): Response
{
if($this->isGranted('IS_AUTHENTICATED_FULLY')) {
if($this->isGranted('IS_AUTHENTICATED_REMEMBERED')) {
return new RedirectResponse($this->generateUrl('job_index'));
}
// get the login error if there is one
@ -35,7 +35,7 @@ class SecurityController extends AbstractController
throw new \Exception('Don\'t forget to activate logout in security.yaml');
}
public function loginCheckAction(): Response
public function loginCheckAction(): void
{
}