diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-10-13 14:06:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 14:06:04 +0300 |
commit | e7f97084b4710da2d8c32d2de7625edc64b504df (patch) | |
tree | f5d349c7de36c90295abc3ae21c1f41ad1766794 /plugins/Login | |
parent | 2b18321afb943c32c65e9f1e075f91d28fff5337 (diff) |
Add spellcheck=false to password inputs (#19824)
* Add spellcheck=false to password inputs
* built vue files
* update expected test files
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
Diffstat (limited to 'plugins/Login')
-rw-r--r-- | plugins/Login/templates/confirmPassword.twig | 2 | ||||
-rw-r--r-- | plugins/Login/templates/confirmResetPassword.twig | 2 | ||||
-rw-r--r-- | plugins/Login/templates/invitation.twig | 4 | ||||
-rw-r--r-- | plugins/Login/templates/login.twig | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Login/templates/confirmPassword.twig b/plugins/Login/templates/confirmPassword.twig index 0ea3abc525..97288ccc73 100644 --- a/plugins/Login/templates/confirmPassword.twig +++ b/plugins/Login/templates/confirmPassword.twig @@ -23,7 +23,7 @@ <div class="col s12 input-field"> <input type="hidden" name="nonce" id="login_form_nonce" value="{{ nonce }}"/> <input type="password" placeholder="" name="password" id="login_form_password" class="input" value="" size="20" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" tabindex="20" /> <label for="login_form_password"><i class="icon-locked icon"></i> {{ 'General_Password'|translate }}</label> </div> diff --git a/plugins/Login/templates/confirmResetPassword.twig b/plugins/Login/templates/confirmResetPassword.twig index 80ef8043a5..9fc5b03656 100644 --- a/plugins/Login/templates/confirmResetPassword.twig +++ b/plugins/Login/templates/confirmResetPassword.twig @@ -24,7 +24,7 @@ <div class="col s12 input-field"> <input type="hidden" name="nonce" value="{{ nonce }}"/> <input type="password" placeholder="" name="mtmpasswordconfirm" id="mtmpasswordconfirm" class="input" value="" size="20" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" tabindex="20" /> <label for="mtmpasswordconfirm"><i class="icon-locked icon"></i> {{ 'Login_NewPassword'|translate }}</label> </div> diff --git a/plugins/Login/templates/invitation.twig b/plugins/Login/templates/invitation.twig index 9d9335539f..34d76287c3 100644 --- a/plugins/Login/templates/invitation.twig +++ b/plugins/Login/templates/invitation.twig @@ -26,13 +26,13 @@ </div> <div class="col s12 input-field"> <input type="password" placeholder="" name="password" id="password" class="input" value="" size="20" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" tabindex="1" required/> <label for="password"><i class="icon-locked icon"></i> {{ 'Login_NewPassword'|translate }}</label> </div> <div class="col s12 input-field"> <input type="password" placeholder="" name="passwordConfirmation" id="password_confirm" class="input" value="" size="20" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" tabindex="2" required/> <label for="password_confirm"><i class="icon-locked icon"></i> {{ 'Login_NewPasswordRepeat'|translate }}</label> </div> diff --git a/plugins/Login/templates/login.twig b/plugins/Login/templates/login.twig index 17ac9f776d..452619c05b 100644 --- a/plugins/Login/templates/login.twig +++ b/plugins/Login/templates/login.twig @@ -37,7 +37,7 @@ <input type="hidden" name="form_nonce" id="login_form_nonce" value="{{ nonce }}"/> <input type="hidden" name="form_redirect" id="login_form_redirect" value=""/> <input type="password" placeholder="" name="form_password" id="login_form_password" class="input" value="" size="20" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" tabindex="20" /> <label for="login_form_password"><i class="icon-locked icon"></i> {{ 'General_Password'|translate }}</label> </div> @@ -92,7 +92,7 @@ <div class="row"> <div class="col s12 input-field"> <input type="password" placeholder="" name="form_password" id="reset_form_password" class="input" value="" size="20" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" tabindex="20" autocomplete="off"/> <label for="reset_form_password"><i class="icon-locked icon"></i> {{ 'Login_NewPassword'|translate }}</label> </div> @@ -100,7 +100,7 @@ <div class="row"> <div class="col s12 input-field"> <input type="password" placeholder="" name="form_password_bis" id="reset_form_password_bis" class="input" value="" - autocorrect="off" autocapitalize="none" + autocorrect="off" autocapitalize="none" spellcheck="false" size="20" tabindex="30" autocomplete="off"/> <label for="reset_form_password_bis"><i class="icon-locked icon"></i> {{ 'Login_NewPasswordRepeat'|translate }}</label> </div> |