aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/formLogin.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 14:50:54 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 14:50:54 +0200
commitf727a1383639d5bdc762f73dfe93b9a5d577cb41 (patch)
tree923dcb725ca264ff09d05968ab71adf341af5037 /app/views/index/formLogin.phtml
parent23609ad858552c54fc3fe8d9f8e2f7d966fd28a1 (diff)
Improve reset auth system
- Add bcrypt.js in resetAuthAction() - Rename init_loginForm() in init_crypto_form() - Load init_crypto_form() everytime (if no #crypto-form, do nothing)
Diffstat (limited to 'app/views/index/formLogin.phtml')
-rw-r--r--app/views/index/formLogin.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/formLogin.phtml b/app/views/index/formLogin.phtml
index b79c1b614..34f10de4a 100644
--- a/app/views/index/formLogin.phtml
+++ b/app/views/index/formLogin.phtml
@@ -3,7 +3,7 @@
switch (Minz_Configuration::authType()) {
case 'form':
- ?><form id="loginForm" method="post" action="<?php echo _url('index', 'formLogin'); ?>">
+ ?><form id="crypto-form" method="post" action="<?php echo _url('index', 'formLogin'); ?>">
<div>
<label for="username"><?php echo _t('username'); ?></label>
<input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" autofocus="autofocus" />