Skip to content

Commit

Permalink
fix: disable email modification in portal
Browse files Browse the repository at this point in the history
  • Loading branch information
Okhelifi committed Mar 14, 2024
1 parent 30d0bf4 commit 24eb353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class UserAccountComponent implements OnInit, OnDestroy {
const formDescriptor = {
last_name: new FormControl({ value: this.lastName, disabled: !this.isProfileEditable }, Validators.required),
first_name: new FormControl({ value: this.firstName, disabled: !this.isProfileEditable }, Validators.required),
email: new FormControl({ value: this.email, disabled: !this.isProfileEditable }, Validators.email),
email: new FormControl({ value: this.email, disabled: true }, Validators.email),
avatar: new FormControl(this.avatar),
};

Expand Down

0 comments on commit 24eb353

Please sign in to comment.