From 08af9021fa5125d07be35d40b1d27621102cab21 Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Tue, 25 Apr 2023 14:03:09 +0200 Subject: [PATCH] IBX-5620: Fixed validation in change password --- .../account/change_password/form_fields.html.twig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/bundle/Resources/views/themes/admin/account/change_password/form_fields.html.twig b/src/bundle/Resources/views/themes/admin/account/change_password/form_fields.html.twig index a4030fbaf7..bb0b17fb3b 100644 --- a/src/bundle/Resources/views/themes/admin/account/change_password/form_fields.html.twig +++ b/src/bundle/Resources/views/themes/admin/account/change_password/form_fields.html.twig @@ -32,3 +32,16 @@ {%- endblock %} + +{%- block form_errors -%} + {%- if errors|length > 0 -%} + {%- for error in errors -%} + + + + + {{ error.message }} + + {%- endfor -%} + {%- endif -%} +{%- endblock -%}