Enable django-otp-agents, for preserving OTP trust over time

This commit is contained in:
Danielle McLean 2017-10-25 01:46:18 +11:00
parent 187412d966
commit 7f17d50486
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
6 changed files with 33 additions and 4 deletions

View file

@ -31,6 +31,14 @@
{% form_field form.username %}
{% form_field form.password %}
{% form_field form.otp_token %}
<div class="form-group">
<label class="custom-control custom-checkbox">
<input name="{{ form.otp_agent_trust.name }}" class="custom-control-input" type="checkbox" />
<span class="custom-control-indicator"></span>
<span class="custom-control-description">remember this browser (don't tick this on a public computer!)</span>
</label>
</div>
</div>
<div class="card-footer">