Skip to content

Commit

Permalink
Merge pull request nextcloud#8576 from nextcloud/mail_share_password_…
Browse files Browse the repository at this point in the history
…autocomplete

Set autocomplete=new-password for mail share password
  • Loading branch information
MorrisJobke authored Feb 28, 2018
2 parents 0e0d852 + ad7ddbc commit 0cfdf47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/js/sharedialogshareelistview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>' +
Expand Down

0 comments on commit 0cfdf47

Please sign in to comment.