diff --git a/admin/app/components/users/user-overview.gjs b/admin/app/components/users/user-overview.gjs index 8e26fbcf2b5..552bb1a5372 100644 --- a/admin/app/components/users/user-overview.gjs +++ b/admin/app/components/users/user-overview.gjs @@ -82,6 +82,10 @@ export default class UserOverview extends Component { return hasBeenAnonymised || isPixAgent; } + get isEmailRequired() { + return this.args.user.username ? null : 'obligatoire'; + } + _initForm() { this.form.firstName = this.args.user.firstName; this.form.lastName = this.args.user.lastName; @@ -201,7 +205,7 @@ export default class UserOverview extends Component { {{#if this.canModifyEmail}}