From 4cb4d6ff873e28519d210e013fe426c0e9cf4604 Mon Sep 17 00:00:00 2001 From: sergeyteleshev Date: Sat, 26 Oct 2024 16:31:27 +0200 Subject: [PATCH] CB-5738 cleanup --- .../UserProfileFormAuthenticationPart.ts | 8 -------- webapp/packages/plugin-user-profile/src/index.ts | 1 - 2 files changed, 9 deletions(-) diff --git a/webapp/packages/plugin-user-profile/src/UserProfileForm/UserAuthenticationPart/UserProfileFormAuthenticationPart.ts b/webapp/packages/plugin-user-profile/src/UserProfileForm/UserAuthenticationPart/UserProfileFormAuthenticationPart.ts index 19a0a58f98..7f4e6eddf4 100644 --- a/webapp/packages/plugin-user-profile/src/UserProfileForm/UserAuthenticationPart/UserProfileFormAuthenticationPart.ts +++ b/webapp/packages/plugin-user-profile/src/UserProfileForm/UserAuthenticationPart/UserProfileFormAuthenticationPart.ts @@ -63,10 +63,6 @@ export class UserProfileFormAuthenticationPart extends FormPart { - if (!this.isChanged) { - return; - } - await this.userInfoResource.updateLocalPassword(this.state.oldPassword, this.state.password); } diff --git a/webapp/packages/plugin-user-profile/src/index.ts b/webapp/packages/plugin-user-profile/src/index.ts index 6f1e114fdb..b1fa18ea05 100644 --- a/webapp/packages/plugin-user-profile/src/index.ts +++ b/webapp/packages/plugin-user-profile/src/index.ts @@ -13,4 +13,3 @@ export * from './UserProfileTabsService.js'; export * from './UserProfileOptionsPanelService.js'; export * from './UserMenu/MENU_USER_PROFILE.js'; export * from './UserMenu/UserMenuLazy.js'; -export * from './UserProfileForm/UserProfileFormService.js';