mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: browser hints for password fields
Co-authored-by: eNV25 <env252525@gmail.com> Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
ed17486da6
commit
58158505b0
2 changed files with 5 additions and 5 deletions
|
@ -246,7 +246,7 @@
|
||||||
<label for="id_passwd1">
|
<label for="id_passwd1">
|
||||||
{% trans %}Password{% endtrans %}:
|
{% trans %}Password{% endtrans %}:
|
||||||
</label>
|
</label>
|
||||||
<input id="id_passwd1" type="password"
|
<input id="id_passwd1" type="password" autocomplete="new-password"
|
||||||
size="30" name="P" value="{{ P or '' }}">
|
size="30" name="P" value="{{ P or '' }}">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@
|
||||||
{% trans %}Re-type password{% endtrans %}:
|
{% trans %}Re-type password{% endtrans %}:
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<input id="id_passwd2" type="password"
|
<input id="id_passwd2" type="password" autocomplete="new-password"
|
||||||
size="30" name="C" value="{{ C or '' }}">
|
size="30" name="C" value="{{ C or '' }}">
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -333,7 +333,7 @@
|
||||||
<label for="id_passwd_current">
|
<label for="id_passwd_current">
|
||||||
{% trans %}Your current password{% endtrans %}:
|
{% trans %}Your current password{% endtrans %}:
|
||||||
</label>
|
</label>
|
||||||
<input id="id_passwd_current" type="password"
|
<input id="id_passwd_current" type="password" autocomplete="current-password"
|
||||||
size="30" name="passwd" id="id_passwd_current">
|
size="30" name="passwd" id="id_passwd_current">
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -26,14 +26,14 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>{% trans %}Enter your new password:{% endtrans %}</td>
|
<td>{% trans %}Enter your new password:{% endtrans %}</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="password" size="30"
|
<input type="password" name="password" size="30" autocomplete="new-password"
|
||||||
value="{{ password or '' }}">
|
value="{{ password or '' }}">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{% trans %}Confirm your new password:{% endtrans %}</td>
|
<td>{% trans %}Confirm your new password:{% endtrans %}</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="confirm" size="30"
|
<input type="password" name="confirm" size="30" autocomplete="new-password"
|
||||||
value="{{ confirm or '' }}">
|
value="{{ confirm or '' }}">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue