Browse Source

Use a native checkbox on the login page too

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

6
lemonauth/templates/lemonauth/login.html

@ -31,9 +31,9 @@
{% form_field form.password %}
{% form_field form.otp_token %}
<div class="custom-control custom-checkbox">
<input id="id_{{ form.otp_trust_agent.name }}" name="{{ form.otp_trust_agent.name }}" class="custom-control-input" type="checkbox" />
<label for="id_{{ form.otp_trust_agent.name }}" class="custom-control-label">remember this browser (don't tick this on a public computer!)</label>
<div class="form-group form-check">
<input id="id_{{ form.otp_trust_agent.name }}" name="{{ form.otp_trust_agent.name }}" class="form-check-input" type="checkbox" />
<label for="id_{{ form.otp_trust_agent.name }}" class="form-check-label">remember this browser (don't tick this on a public computer!)</label>
</div>
</div>

Loading…
Cancel
Save