summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-02-28 21:07:08 +0100
committerGitHub <noreply@github.com>2018-02-28 21:07:08 +0100
commitd7e5a660ca609ce98efc1ecaffbe7524edc21a84 (patch)
tree0a668b164a1dbc2df04abd1cac9edb153d67b9b9
parent2c6f3c88cfd4db5f7a1c43f205f25667868046de (diff)
parent338795a03ddafb34c3692a6876c40cee9c59135b (diff)
downloadnextcloud-server-d7e5a660ca609ce98efc1ecaffbe7524edc21a84.tar.gz
nextcloud-server-d7e5a660ca609ce98efc1ecaffbe7524edc21a84.zip
Merge pull request #8577 from nextcloud/8576_13
[stable13] Set autocomplete=new-password for mail share password
-rw-r--r--core/js/sharedialogshareelistview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 30cbeff3c64..6c256d3de37 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -104,7 +104,7 @@
'<label for="password-{{cid}}-{{shareId}}">{{passwordLabel}}</label>' +
'<div class="passwordContainer-{{cid}}-{{shareId}} {{#unless isPasswordSet}}hidden{{/unless}}">' +
' <label for="passwordField-{{cid}}-{{shareId}}" class="hidden-visually" value="{{password}}">{{passwordLabel}}</label>' +
- ' <input id="passwordField-{{cid}}-{{shareId}}" class="passwordField" type="password" placeholder="{{passwordPlaceholder}}" value="{{passwordValue}}" />' +
+ ' <input id="passwordField-{{cid}}-{{shareId}}" class="passwordField" type="password" placeholder="{{passwordPlaceholder}}" value="{{passwordValue}}" autocomplete="new-password" />' +
' <span class="icon-loading-small hidden"></span>' +
'</div>' +
'</span>' +