Skip to content

Commit dbd7fd2

Browse files
committed
OXDEV-10116 Use block override instead of inline style hack
1 parent 9be199e commit dbd7fd2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

views/twig/extensions/themes/default/form/user_password.html.twig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
{% block user_change_password %}
66
{% if oViewConf.isExternalAuthUser() %}
7-
<style>#savePass { display: none; }</style>
87
<p class="alert alert-info">
98
{{ translate({ ident: "OE_SECURITY_EXTERNAL_AUTH_PASSWORD_INFO" }) }}
109
</p>
@@ -16,6 +15,12 @@
1615
{% endif %}
1716
{% endblock %}
1817

18+
{% block user_change_password_button %}
19+
{% if not oViewConf.isExternalAuthUser() %}
20+
{{ parent() }}
21+
{% endif %}
22+
{% endblock %}
23+
1924
{% block user_change_password_old %}
2025
{{ parent() }}
2126

0 commit comments

Comments
 (0)