diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-12-04 23:15:38 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-12-04 23:15:38 +0100 |
commit | 4a954eb8e70bda5819f63da9cd841f1579573413 (patch) | |
tree | 913d796501ab93fb3c6f81a23b2703a76f520f71 /src/jwebmail/templates/login.html | |
parent | f5283a7bb0b215b8a426219f9be8f2d4f9d5b59f (diff) |
add multi language urls
update translations
use redis as session store
add requirements.txt file to pin dependencies
add proper subfolder support
improve compatibility with python 3.9
correct js for login focus
Diffstat (limited to 'src/jwebmail/templates/login.html')
-rw-r--r-- | src/jwebmail/templates/login.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jwebmail/templates/login.html b/src/jwebmail/templates/login.html index 2915de3..d73238d 100644 --- a/src/jwebmail/templates/login.html +++ b/src/jwebmail/templates/login.html @@ -26,7 +26,7 @@ </div> {% endif %} - <form name="login1" method="POST" class="pure-form pure-form-aligned jwm-round"> + <form name="login1" id="login1" method="POST" class="pure-form pure-form-aligned jwm-round"> {{ login_form.csrf_token }} @@ -74,10 +74,10 @@ {% block scripts %} <script type="text/javascript"> - if (!document.login1.userid.value) { - document.login1.userid.focus(); + if (!document.forms.login1.username.value) { + document.forms.login1.username.focus(); } else { - document.login1.password.focus(); + document.forms.login1.password.focus(); } </script> {% endblock %} |