aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/config/security.yml6
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig7
2 files changed, 12 insertions, 1 deletions
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:
51 csrf_parameter: _csrf_token 51 csrf_parameter: _csrf_token
52 intention: authenticate 52 intention: authenticate
53 53
54 remember_me:
55 key: "%secret%"
56 lifetime: 31536000
57 path: /
58 domain: ~
59
54 logout: 60 logout:
55 path: /logout 61 path: /logout
56 target: / 62 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 @@
33 <input type="password" id="password" name="_password" /> 33 <input type="password" id="password" name="_password" />
34 </div> 34 </div>
35 35
36 <div class="input-field s12">
37 <input type="checkbox" id="remember_me" name="_remember_me" checked />
38<label for="remember_me">Keep me logged in</label>
39 </div>
40
36 </div> 41 </div>
37 <div class="card-action"> 42 <div class="card-action">
38 <button class="btn waves-effect waves-light" type="submit" name="send"> 43 <button class="btn waves-effect waves-light" type="submit" name="send">
@@ -55,4 +60,4 @@
55{% endblock %} 60{% endblock %}
56 61
57{% block footer %} 62{% block footer %}
58{% endblock %} \ No newline at end of file 63{% endblock %}