mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 06:43:49 +00:00
Disable password autocomplete
It doesn't seem to work properly.
This commit is contained in:
parent
043f626850
commit
8ca7368200
@ -314,6 +314,7 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
|
|||||||
html.push("<input type='password' name='password' class='input-small' placeholder='Password'>",
|
html.push("<input type='password' name='password' class='input-small' placeholder='Password'>",
|
||||||
"<button type='submit' class='btn'>" + submitText + "</button>");
|
"<button type='submit' class='btn'>" + submitText + "</button>");
|
||||||
form.className = "form-inline";
|
form.className = "form-inline";
|
||||||
|
form.setAttribute("autocomplete","off");
|
||||||
form.innerHTML = html.join("\n");
|
form.innerHTML = html.join("\n");
|
||||||
this.promptWrapper.appendChild(form);
|
this.promptWrapper.appendChild(form);
|
||||||
window.setTimeout(function() {
|
window.setTimeout(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user