fix: make email readonly in personal data form to prevent user lockout
This commit is contained in:
@@ -86,9 +86,6 @@
|
||||
{%- endif -%}
|
||||
<div{% if tooltip is not null %} {{ stimulus_controller('tooltip', { 'content': tooltip }) }}{% endif %}>
|
||||
{{ parent() }}
|
||||
{%- if disabled is defined and disabled == true -%}
|
||||
<input type="hidden" name="{{ form.vars.full_name }}" value="{{ form.vars.value }}">
|
||||
{%- endif -%}
|
||||
</div>
|
||||
{%- endblock form_widget_simple -%}
|
||||
|
||||
@@ -107,9 +104,6 @@
|
||||
{%- endif -%}
|
||||
<div{% if tooltip is not null %} {{ stimulus_controller('tooltip', { 'content': tooltip }) }}{% endif %}>
|
||||
{{ parent() }}
|
||||
{%- if disabled is defined and disabled == true -%}
|
||||
<input type="hidden" name="{{ form.vars.full_name }}" value="{{ form.vars.value }}">
|
||||
{%- endif -%}
|
||||
</div>
|
||||
{%- endblock textarea_widget -%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user