apostrophe 2.227.5 → 2.227.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.227.6 (2024-04-29)
|
|
4
|
+
|
|
5
|
+
### Changes
|
|
6
|
+
|
|
7
|
+
* Replace `autocomplete="off"`, which modern browsers ignore, with `autocomplete="new-password"`
|
|
8
|
+
so that (1) admin user's password is not stuffed into password fields when editing an entirely
|
|
9
|
+
different user and (2) the admin user's username is not stuffed into the text field preceding
|
|
10
|
+
it. Browser autocomplete is quite aggressive in 2024.
|
|
11
|
+
|
|
3
12
|
## 2.227.5 (2024-04-18)
|
|
4
13
|
|
|
5
14
|
### Changes
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
{%- endmacro -%}
|
|
88
88
|
|
|
89
89
|
{%- macro passwordBody(field, options) -%}
|
|
90
|
-
<input id="{{ options.id }}" class="apos-field-input apos-field-input-text{% if options.fieldClasses %} {{ options.fieldClasses }}{% endif %}" name="{{ field.name }}" autocomplete="
|
|
90
|
+
<input id="{{ options.id }}" class="apos-field-input apos-field-input-text{% if options.fieldClasses %} {{ options.fieldClasses }}{% endif %}" name="{{ field.name }}" autocomplete="new-password" type="password"{% if field.readOnly %} disabled{% endif %}{% if options.fieldAttributes %} {{ options.fieldAttributes }}{% endif %}>
|
|
91
91
|
{%- endmacro -%}
|
|
92
92
|
|
|
93
93
|
{%- macro tags(field) -%}
|