summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/auth
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/auth')
-rw-r--r--ogcp/templates/auth/login.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/ogcp/templates/auth/login.html b/ogcp/templates/auth/login.html
index ee3f2e3..2b6cce9 100644
--- a/ogcp/templates/auth/login.html
+++ b/ogcp/templates/auth/login.html
@@ -15,7 +15,8 @@
{{ wtf.quick_form(form,
method='post',
form_type='basic',
- button_map={'submit_btn':'primary'}) }}
+ button_map={'submit_btn':'primary'},
+ id='login-form') }}
</div>
<!-- /.login-card-body -->
</div>
@@ -23,5 +24,12 @@
<!-- /.login-box -->
</div>
+<script>
+ document.addEventListener('readystatechange', () => {
+ if (document.readyState === 'complete') {
+ digestLoginPassword()
+ }
+ });
+</script>
{% endblock %}