Skip to content

Commit

Permalink
Version 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jshah4517 committed Nov 11, 2022
1 parent 7917d66 commit b608d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/forms/user_profile.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{ form_label('email', Lang.get('general.email')) }}
<div class="sp-input-container">
{% set emailAttributes = {'size': 35} %}
{% if auth_check() and auth_user().loggedInViaSSO() %}
{% if auth_check() and auth_user().loggedInViaSSO() and not organisation_add %}
{% set emailAttributes = emailAttributes|merge({'readonly': 'readonly'}) %}
{% endif %}
{{ form_email('email', record.email, emailAttributes) }}
Expand Down

0 comments on commit b608d5b

Please sign in to comment.