Merge pull request #7461 from nextcloud/fix_6821
Set autocomplete on share password input
This commit is contained in:
commit
7ad746ad70
|
@ -66,9 +66,9 @@
|
||||||
'<div id="linkPass" class="oneline linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' +
|
'<div id="linkPass" class="oneline linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' +
|
||||||
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' +
|
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' +
|
||||||
' {{#if showPasswordCheckBox}}' +
|
' {{#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}}' +
|
' {{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}}' +
|
' {{/if}}' +
|
||||||
' <span class="icon icon-loading-small hidden"></span>' +
|
' <span class="icon icon-loading-small hidden"></span>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
|
|
Loading…
Reference in New Issue