Add remember me functionality
This commit is contained in:
parent
6f5e5b069c
commit
58734aa7b2
3 changed files with 18 additions and 0 deletions
|
@ -18,6 +18,10 @@ class DashboardController extends AbstractDashboardController
|
|||
*/
|
||||
public function index(): Response
|
||||
{
|
||||
// require the user to log in during *this* session
|
||||
// if they were only logged in via a remember me cookie, they
|
||||
// will be redirected to the login page
|
||||
$this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY');
|
||||
return parent::index();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue