diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-10-25 08:23:42 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-10-25 08:23:42 +0200 |
commit | b9e8c8943ea97a0151ced7a444d740e6392accb1 (patch) | |
tree | b3cb9c8af83ce1f13a7917615e2d278dcd288b48 /apps/files_sharing/templates | |
parent | c85deacddbbf6d8f2818df68708394ee45c970b4 (diff) | |
download | nextcloud-server-b9e8c8943ea97a0151ced7a444d740e6392accb1.tar.gz nextcloud-server-b9e8c8943ea97a0151ced7a444d740e6392accb1.zip |
Use new-password as autocomplete on share auth page
Fixes #6821
This makes sure that (supported) browsers will not prefill the password
field if a user has a password saved for that nextcloud.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/authenticate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php index d9f19bbb579..20e200ef1ca 100644 --- a/apps/files_sharing/templates/authenticate.php +++ b/apps/files_sharing/templates/authenticate.php @@ -17,7 +17,7 @@ <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" /> <input type="password" name="password" id="password" placeholder="<?php p($l->t('Password')); ?>" value="" - autocomplete="off" autocapitalize="off" autocorrect="off" + autocomplete="new-password" autocapitalize="off" autocorrect="off" autofocus /> <input type="submit" id="password-submit" class="svg icon-confirm input-button-inline" value="" disabled="disabled" /> |