Merge pull request #1323 from wallabag/v2-1302-checkbox

fix #1302: add 'stay connected' checkbox
This commit is contained in:
Jeremy Benoist 2015-08-12 13:23:52 +02:00
commit a8596c35c8
2 changed files with 12 additions and 1 deletions

View file

@ -51,6 +51,12 @@ security:
csrf_parameter: _csrf_token
intention: authenticate
remember_me:
key: "%secret%"
lifetime: 31536000
path: /
domain: ~
logout:
path: /logout
target: /

View file

@ -33,6 +33,11 @@
<input type="password" id="password" name="_password" />
</div>
<div class="input-field s12">
<input type="checkbox" id="remember_me" name="_remember_me" checked />
<label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
</div>
</div>
<div class="card-action">
<button class="btn waves-effect waves-light" type="submit" name="send">
@ -55,4 +60,4 @@
{% endblock %}
{% block footer %}
{% endblock %}
{% endblock %}