1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00

update injection of ChangePasswordService

This commit is contained in:
rr-bw
2025-03-29 20:49:09 -07:00
parent d2fd834a38
commit f46ea84177
5 changed files with 18 additions and 2 deletions

View File

@@ -46,6 +46,8 @@ import {
PinServiceAbstraction,
UserDecryptionOptionsService,
UserDecryptionOptionsServiceAbstraction,
ChangePasswordService,
DefaultChangePasswordService,
} from "@bitwarden/auth/common";
import { ApiService as ApiServiceAbstraction } from "@bitwarden/common/abstractions/api.service";
import { AuditService as AuditServiceAbstraction } from "@bitwarden/common/abstractions/audit.service";
@@ -1505,6 +1507,11 @@ const safeProviders: SafeProvider[] = [
useClass: MasterPasswordApiService,
deps: [ApiServiceAbstraction, LogService],
}),
safeProvider({
provide: ChangePasswordService,
useClass: DefaultChangePasswordService,
deps: [],
}),
];
@NgModule({