aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-12-22 17:36:50 +0100
committerGravatar GitHub <noreply@github.com> 2020-12-22 17:36:50 +0100
commit48e0464e4bf70a240d6c829bc3e9434ecc04ec42 (patch)
tree28f26a1dc62546440c551b89d28a82b2e610ba35 /app
parent98b82842d58579832f0687127218cd272a7ad636 (diff)
Prevent login before extra.js is loaded (#3275)
Disable submit button until extra.js with its crypto functions is loaded.
Diffstat (limited to 'app')
-rw-r--r--app/views/auth/formLogin.phtml2
1 files changed, 1 insertions, 1 deletions
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 @@
</div>
<div class="form-group form-group-actions">
- <button id="loginButton" type="submit" class="btn btn-important">
+ <button id="loginButton" type="submit" class="btn btn-important" disabled="disabled">
<?= _t('gen.auth.login') ?>
</button>
</div>