From 5a5846149164086fe6f8e1fada6a4ab3bb910a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 12 Aug 2015 12:27:12 +0200 Subject: add 'stay connected' checkbox --- app/config/security.yml | 6 ++++++ .../Resources/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 @@ +
+ + +
+
-- cgit v1.2.3 From 6622cf996830a037081dba8fa8b2793ffd998bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 12 Aug 2015 13:21:07 +0200 Subject: add translation --- .../CoreBundle/Resources/views/themes/material/Security/login.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 22afdd7b..73abc3f8 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 @@ -35,7 +35,7 @@
- +
-- cgit v1.2.3