Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-02-26 00:51:04 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-26 00:51:04 +0400
commit970eeff55b56def45a59a77fec56ed29e3837b4f (patch)
treeefc8de0b3547d6601973281ff22454ebde34d531 /plugins/Login/templates/login.twig
parentc5ce11fa9fc3a59fe07e46e2ad3c016611b8082a (diff)
Fixes PR #231 Adding autocomplete=off to the password reset form so that the password are not auto-completed there.
did not add it to main password field as to not break the password manager /browser functionnality.
Diffstat (limited to 'plugins/Login/templates/login.twig')
-rw-r--r--plugins/Login/templates/login.twig4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Login/templates/login.twig b/plugins/Login/templates/login.twig
index 860990af32..1ad093e0e4 100644
--- a/plugins/Login/templates/login.twig
+++ b/plugins/Login/templates/login.twig
@@ -125,11 +125,11 @@
<input type="hidden" name="form_nonce" id="reset_form_nonce" value="{{ nonce }}"/>
<input type="password" name="form_password" id="reset_form_password" class="input" value="" size="20"
- tabindex="20"
+ tabindex="20" autocomplete="off"
placeholder="{{ 'General_Password'|translate }}"/>
<input type="password" name="form_password_bis" id="reset_form_password_bis" class="input" value=""
- size="20" tabindex="30"
+ size="20" tabindex="30" autocomplete="off"
placeholder="{{ 'Login_PasswordRepeat'|translate }}"/>
</fieldset>