Browse Source

Use consistent IDs for each input of the login form

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

4
lemonauth/templates/lemonauth/login.html

@ -32,8 +32,8 @@
{% form_field form.otp_token %}
<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>
<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>
</div>

Loading…
Cancel
Save