Patch the 'remember this browser' checkbox to work with the current Bootstrap and django-otp-agents versions
This commit is contained in:
parent
9580068c5b
commit
7d677734f3
1 changed files with 3 additions and 6 deletions
|
@ -31,12 +31,9 @@
|
||||||
{% form_field form.password %}
|
{% form_field form.password %}
|
||||||
{% form_field form.otp_token %}
|
{% form_field form.otp_token %}
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="custom-control custom-checkbox">
|
||||||
<label class="custom-control custom-checkbox">
|
<input id="otp-trust-agent" name="{{ form.otp_trust_agent.name }}" class="custom-control-input" type="checkbox" />
|
||||||
<input name="{{ form.otp_agent_trust.name }}" class="custom-control-input" type="checkbox" />
|
<label for="otp-trust-agent" class="custom-control-label">remember this browser (don't tick this on a public computer!)</label>
|
||||||
<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>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue