Add remember me functionality

This commit is contained in:
Jannis Portmann 2021-05-20 23:34:50 +02:00
parent 6f5e5b069c
commit 58734aa7b2
3 changed files with 18 additions and 0 deletions

View file

@ -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();
}