From: Nicolas LÅ“uillet Date: Wed, 12 Aug 2015 10:27:12 +0000 (+0200) Subject: add 'stay connected' checkbox X-Git-Tag: 2.0.0-alpha.0~43^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5a5846149164086fe6f8e1fada6a4ab3bb910a87;p=github%2Fwallabag%2Fwallabag.git add 'stay connected' checkbox --- 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 @@ +
+ + +
+