diff options
author | Vitaly Takmazov | 2022-05-25 01:00:00 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-05-25 01:00:00 +0300 |
commit | ef9b61ebf7a9025747f715b98c4d8fcd98531b91 (patch) | |
tree | 02193a2a74d85f3e0f025f36be5fa343bf4b9120 /src/main/assets/scripts.js | |
parent | b7959bc83f8bff6e9aa6663fd7b432fbd3aa971b (diff) |
Add autocomplete hints to login/signup forms
Diffstat (limited to 'src/main/assets/scripts.js')
-rw-r--r-- | src/main/assets/scripts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js index 08ff3c2d..d5ceb86e 100644 --- a/src/main/assets/scripts.js +++ b/src/main/assets/scripts.js @@ -418,8 +418,8 @@ function openDialogLogin() { <a href="/_apple" id="signapple"><img src="https://appleid.cdn-apple.com/appleid/button"></a> <p>${i18n('loginDialog.registeredAlready')}</p> <form action="/login" method="POST"> - <input class="signinput" type="text" name="username" placeholder="${i18n('loginDialog.username')}"/><br/> - <input class="signinput" type="password" name="password" placeholder="${i18n('loginDialog.password')}"/><br/> + <input class="signinput" type="text" name="username" placeholder="${i18n('loginDialog.username')}" autocomplete="username" /><br/> + <input class="signinput" type="password" name="password" placeholder="${i18n('loginDialog.password')}" autocomplete="current-password" /><br/> <input class="signsubmit Button" type="submit" value="OK"/> </form> </div>`; |