forked from 00dani/lemoncurry
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.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 class="custom-control custom-checkbox">
|
||||
<input id="otp-trust-agent" name="{{ form.otp_trust_agent.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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue