Enable django-otp-agents, for preserving OTP trust over time
This commit is contained in:
parent
187412d966
commit
7f17d50486
6 changed files with 33 additions and 4 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue