add 'stay connected' checkbox

This commit is contained in:
Nicolas Lœuillet 2015-08-12 12:27:12 +02:00
parent 496f21e6fa
commit 5a58461491
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">Keep me logged in</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 %}