diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml
index dfff64ffb..b5fee2c27 100644
--- a/app/views/auth/formLogin.phtml
+++ b/app/views/auth/formLogin.phtml
@@ -31,7 +31,7 @@
-
diff --git a/p/scripts/extra.js b/p/scripts/extra.js
index d34042e05..4d4f3f171 100644
--- a/p/scripts/extra.js
+++ b/p/scripts/extra.js
@@ -51,8 +51,10 @@ function init_crypto_form() {
forgetOpenCategories();
+ const submit_button = document.querySelector('button[type="submit"]');
+ submit_button.disabled = false;
+
crypto_form.onsubmit = function (e) {
- const submit_button = this.querySelector('button[type="submit"]');
submit_button.disabled = true;
let success = false;