Fix the required params not working in the client profile (#2233)

This commit is contained in:
Belle Aerni authored and GitHub committed 2024-04-11 14:07:42 -07:00
1 parent e64c266c5f
commit 58d10911b8
1 file changed
+1
@@ -6,6 +6,7 @@
<li class="breadcrumb-item active" aria-current="page">{{ 'Profile'|trans }}</li>{% endblock %}
{% block body_class %}client-profile{% endblock %}
{% set required = guest.client_required %}
{% block content %}
{% if (guest.client_is_email_validation_required) and (not profile.email_approved) %}
<div class="alert alert-block alert-danger">