diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-12 11:33:12 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-12 11:33:12 +0100 |
commit | 45772473a9136ce775d41e6e95449624a98182c4 (patch) | |
tree | b1c16fb4ad4ebf291fc26a669cacc405a716d258 /core/js | |
parent | 115e7e29cf60c49ddfebece9c25f35f3c5e5dac4 (diff) | |
download | nextcloud-server-45772473a9136ce775d41e6e95449624a98182c4.tar.gz nextcloud-server-45772473a9136ce775d41e6e95449624a98182c4.zip |
Set autocomplete on share password input
Fixes #6821
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index dc3b6f062b8..5a78276a491 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -66,9 +66,9 @@ '<div id="linkPass" class="oneline linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' + ' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' + ' {{#if showPasswordCheckBox}}' + - ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' + + ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" autocomplete="new-password" />' + ' {{else}}' + - ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholderInitial}}" />' + + ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholderInitial}}" autocomplete="new-password" />' + ' {{/if}}' + ' <span class="icon icon-loading-small hidden"></span>' + '</div>' + |