aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/layouts
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-05-25 01:00:00 +0300
committerGravatar Vitaly Takmazov2022-05-25 01:00:00 +0300
commitef9b61ebf7a9025747f715b98c4d8fcd98531b91 (patch)
tree02193a2a74d85f3e0f025f36be5fa343bf4b9120 /src/main/resources/templates/layouts
parentb7959bc83f8bff6e9aa6663fd7b432fbd3aa971b (diff)
Add autocomplete hints to login/signup forms
Diffstat (limited to 'src/main/resources/templates/layouts')
-rw-r--r--src/main/resources/templates/layouts/login.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/layouts/login.html b/src/main/resources/templates/layouts/login.html
index 0f9d0a1b..e89f6790 100644
--- a/src/main/resources/templates/layouts/login.html
+++ b/src/main/resources/templates/layouts/login.html
@@ -267,9 +267,9 @@
<form action="/login" method="POST">
<p class="err">{{ authErrorMessage | default('') }}</p>
<input class="txt" type="text" name="username" placeholder='{{ i18n("messages","label.username") }}'
- id="nickinput" />
+ id="nickinput" autocomplete="username" />
<input class="txt" type="password" name="password"
- placeholder='{{ i18n("messages","label.password") }}' />
+ placeholder='{{ i18n("messages","label.password") }}' autocomplete="current-password" />
<input class="submit" type="submit" value="OK" />
</form>
</div>