diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index 45bbdb8ea..45bf38a90 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -12,10 +12,10 @@ = $this->form->csrf() ?> = $this->form->label(t('Username'), 'username') ?> - = $this->form->text('username', $values, $errors, array('autofocus', 'required')) ?> + = $this->form->text('username', $values, $errors, array('autofocus', 'required', 'autocomplete="username"')) ?> = $this->form->label(t('Password'), 'password') ?> - = $this->form->password('password', $values, $errors, array('required')) ?> + = $this->form->password('password', $values, $errors, array('required', 'autocomplete="current-password"')) ?> = $this->form->label(t('Enter the text below'), 'captcha') ?> diff --git a/app/Template/password_reset/change.php b/app/Template/password_reset/change.php index 80a035da6..ac9330944 100644 --- a/app/Template/password_reset/change.php +++ b/app/Template/password_reset/change.php @@ -4,10 +4,10 @@ = $this->form->csrf() ?> = $this->form->label(t('New password'), 'password') ?> - = $this->form->password('password', $values, $errors) ?> + = $this->form->password('password', $values, $errors, ['autocomplete="new-password"']) ?> = $this->form->label(t('Confirmation'), 'confirmation') ?> - = $this->form->password('confirmation', $values, $errors) ?> + = $this->form->password('confirmation', $values, $errors, ['autocomplete="new-password"']) ?>
= t('Your profile must have a valid email address.') ?>
= $this->form->label(t('Enter the text below'), 'captcha') ?> diff --git a/app/Template/project_edit/show.php b/app/Template/project_edit/show.php index 7474255f6..be849cce9 100644 --- a/app/Template/project_edit/show.php +++ b/app/Template/project_edit/show.php @@ -17,7 +17,7 @@ = $this->form->text('name', $values, $errors, array('required', 'autofocus', 'tabindex="1"')) ?> = $this->form->label(t('Email'), 'email') ?> - = $this->form->email('email', $values, $errors, array('tabindex="2"')) ?> + = $this->form->email('email', $values, $errors, array('tabindex="2"', 'autocomplete="email"')) ?>= t('The project email is optional and could be used by several plugins.') ?>
= $this->form->label(t('Identifier'), 'identifier') ?> diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php index 2c0de97c0..912861439 100644 --- a/app/Template/twofactor/check.php +++ b/app/Template/twofactor/check.php @@ -2,11 +2,11 @@