aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views
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/views
parentb7959bc83f8bff6e9aa6663fd7b432fbd3aa971b (diff)
Add autocomplete hints to login/signup forms
Diffstat (limited to 'src/main/resources/templates/views')
-rw-r--r--src/main/resources/templates/views/signup.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/templates/views/signup.html b/src/main/resources/templates/views/signup.html
index d6eb921f..d3742734 100644
--- a/src/main/resources/templates/views/signup.html
+++ b/src/main/resources/templates/views/signup.html
@@ -21,7 +21,7 @@
<input type="submit" value="Связать с этим аккаунтом"/>
{% else %}
<p>Имя пользователя: <input type="text" name="username"/></p>
- <p>Пароль: <input type="password" name="password"/></p>
+ <p>Пароль: <input type="password" name="password" autocomplete="current-password" /></p>
<p><input type="submit" value=" OK "/></p>
{% endif %}
</form>
@@ -34,9 +34,9 @@
<input type="hidden" name="action" value="new"/>
<input type="hidden" name="type" value="{{ type }}"/>
<input type="hidden" name="hash" value="{{ hash }}"/>
- <p>Имя пользователя: <input type="text" name="username" id="username"/><br/><i>(От 2-х до 16-и латинских символов
+ <p>Имя пользователя: <input type="text" name="username" id="username" autocomplete="username" /><br/><i>(От 2-х до 16-и латинских символов
и/или цифр, дефис)</i></p>
- <p>Пароль: <input type="password" name="password"/><br/><i>(от 6-и до 32-х символов)</i></p>
+ <p>Пароль: <input type="password" name="password" autocomplete="new-password"/><br/><i>(от 6-и до 32-х символов)</i></p>
<p><input type="submit" value=" OK "/></p>
</form>
{% endif %}