From 5a5846149164086fe6f8e1fada6a4ab3bb910a87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 12 Aug 2015 12:27:12 +0200 Subject: [PATCH] add 'stay connected' checkbox --- app/config/security.yml | 6 ++++++ .../views/themes/material/Security/login.html.twig | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/config/security.yml b/app/config/security.yml index 37236d40..2163389b 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -51,6 +51,12 @@ security: csrf_parameter: _csrf_token intention: authenticate + remember_me: + key: "%secret%" + lifetime: 31536000 + path: / + domain: ~ + logout: path: /logout target: / diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig index 8f60fbe2..26d039c7 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig @@ -33,6 +33,11 @@ +
+ + +
+