Skip to content
Snippets Groups Projects
Commit ca09adae authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpAuth] Fix issue #21 Fokus auf Passwort-Feld nach falschem Login

parent adf6e6a8
No related branches found
No related tags found
No related merge requests found
......@@ -54,4 +54,12 @@
<a class="btn" href="/account/reset_password">{% trans "Forgot Password?" %}</a><br>
<a class="btn" href="/account/registration/">{% trans "Register" %}</a><br>
<a class="btn" href="/account/registration/resend">{% trans "Resend Activation Link" %}</a>
<script>
if(document.getElementById("id_auth-username").value) {
$("#id_auth-password").focus();
} else {
$("#id_auth-username").focus();
}
</script>
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment