mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Add autocomplete attribute for password input fields in input_setting.html
This commit is contained in:
parent
b0006a6c94
commit
7d473beefa
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
value="{{ setting_value }}"
|
||||
data-original="{% if current_endpoint != 'new' %}{{ setting_value }}{% else %}{{ setting_default }}{% endif %}"
|
||||
data-default="{{ setting_default }}"
|
||||
{% if setting_data['type'] == 'password' %}autocomplete="off"{% endif %}
|
||||
{% if disabled %}disabled{% endif %}
|
||||
{% if required %}required{% endif %}
|
||||
{% if input_readonly %}readonly{% endif %}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue