summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-28 14:17:03 +0100
committerGitHub <noreply@github.com>2018-02-28 14:17:03 +0100
commit0cfdf4748f248e1b55fc459a05e7782a1e585716 (patch)
tree30244d55dc67b1147638f9acc9acfdf134ddeeb3
parent0e0d852b8906d51d38e0fab1bd84bab4005c45f1 (diff)
parentad7ddbc0684a9f3ef6daf5e6bac9a502931333ea (diff)
downloadnextcloud-server-0cfdf4748f248e1b55fc459a05e7782a1e585716.tar.gz
nextcloud-server-0cfdf4748f248e1b55fc459a05e7782a1e585716.zip
Merge pull request #8576 from nextcloud/mail_share_password_autocomplete
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 e76a25bd020..82cf8ee8c36 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>' +