diff options
author | Dennis1993 <Dennis1993@users.noreply.github.com> | 2018-10-31 11:19:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 11:19:02 +0300 |
commit | 708658afa34612667191fe06560ec1f37b1cab43 (patch) | |
tree | 5dc91dbc3f454122d354c1b57d16116023425f43 /core/templates | |
parent | 426641a795c41aaa1e48715c9fa2c39d2a8cb387 (diff) | |
parent | 2a9b56f77bf4622b4dbc8e954fcfc2a3226d3110 (diff) |
Merge pull request #12089 from Rayn0r/master
added possibility to disable autocomplete in login form
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/login.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index 989ea1eaad5..3035d23da70 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -42,7 +42,7 @@ use OC\Core\Controller\LoginController; aria-label="<?php p($l->t('Username or email')); ?>" value="<?php p($_['loginName']); ?>" <?php p($_['user_autofocus'] ? 'autofocus' : ''); ?> - autocomplete="on" autocapitalize="none" autocorrect="off" required> + autocomplete="<?php p($_['login_form_autocomplete']); ?>" autocapitalize="none" autocorrect="off" required> <label for="user" class="infield"><?php p($l->t('Username or email')); ?></label> </p> @@ -51,7 +51,7 @@ use OC\Core\Controller\LoginController; placeholder="<?php p($l->t('Password')); ?>" aria-label="<?php p($l->t('Password')); ?>" <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?> - autocomplete="on" autocapitalize="off" autocorrect="none" required> + autocomplete="<?php p($_['login_form_autocomplete']); ?>" autocapitalize="none" autocorrect="off" required> <label for="password" class="infield"><?php p($l->t('Password')); ?></label> </p> |