summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/auth/login.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-06-28 12:31:59 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-06-30 09:26:18 +0200
commit61bd6bc4bac0cb930304b6fd7dfadd24e5318914 (patch)
tree88fdbbafba634d2052a36a4fe260b11864f378af /ogcp/templates/auth/login.html
parent06bcbe40a3caf76df062cbb883a0ac9e5fd2c723 (diff)
Move password hashing to the backend
This patch moves login password hashing from the frontend/javascript to the backend/flask. This patch moves password hashing of login and user management forms. Related commits: * c7b0024 ("Add password hashing") * 661254b ("Add 'Add user' to Users section")
Diffstat (limited to 'ogcp/templates/auth/login.html')
-rw-r--r--ogcp/templates/auth/login.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/ogcp/templates/auth/login.html b/ogcp/templates/auth/login.html
index 2b6cce9..20f6f8c 100644
--- a/ogcp/templates/auth/login.html
+++ b/ogcp/templates/auth/login.html
@@ -15,8 +15,7 @@
{{ wtf.quick_form(form,
method='post',
form_type='basic',
- button_map={'submit_btn':'primary'},
- id='login-form') }}
+ button_map={'submit_btn':'primary'}) }}
</div>
<!-- /.login-card-body -->
</div>
@@ -24,12 +23,4 @@
<!-- /.login-box -->
</div>
-<script>
- document.addEventListener('readystatechange', () => {
- if (document.readyState === 'complete') {
- digestLoginPassword()
- }
- });
-</script>
-
{% endblock %}