diff --git a/webapp/packages/plugin-authentication-administration/src/Administration/Users/UserForm/UserFormController.ts b/webapp/packages/plugin-authentication-administration/src/Administration/Users/UserForm/UserFormController.ts index 794bdc64d9..57b36423ce 100644 --- a/webapp/packages/plugin-authentication-administration/src/Administration/Users/UserForm/UserFormController.ts +++ b/webapp/packages/plugin-authentication-administration/src/Administration/Users/UserForm/UserFormController.ts @@ -280,7 +280,9 @@ export class UserFormController implements IInitializableController, IDestructib } private async saveUserStatus() { - await this.usersResource.enableUser(this.user.userId, this.enabled); + if (this.enabled !== this.user.enabled) { + await this.usersResource.enableUser(this.user.userId, this.enabled); + } } private async saveConnectionPermissions() {