Browse Source

Patch the 'remember this browser' checkbox to work with the current Bootstrap and django-otp-agents versions

pull/1/head
Danielle McLean 4 years ago
parent
commit
7d677734f3
Signed by: 00dani GPG Key ID: 5A5D2D1AFF12EEC5
  1. 9
      lemonauth/templates/lemonauth/login.html

9
lemonauth/templates/lemonauth/login.html

@ -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…
Cancel
Save