1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

setup web-login.service.ts

This commit is contained in:
rr-bw
2024-08-22 14:03:07 -07:00
parent 2b90cbb3e5
commit d4213fba2e
9 changed files with 28 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ import {
DefaultRegistrationFinishService,
AnonLayoutWrapperDataService,
DefaultAnonLayoutWrapperDataService,
LoginService,
DefaultLoginService,
} from "@bitwarden/auth/angular";
import {
AuthRequestServiceAbstraction,
@@ -1290,6 +1292,11 @@ const safeProviders: SafeProvider[] = [
useClass: DefaultRegistrationFinishService,
deps: [CryptoServiceAbstraction, AccountApiServiceAbstraction],
}),
safeProvider({
provide: LoginService,
useClass: DefaultLoginService,
deps: [],
}),
];
@NgModule({