2022-02-03 06:00:57 +01:00
|
|
|
import { Component } from "@angular/core";
|
2022-02-24 12:10:07 +01:00
|
|
|
import { Router } from "@angular/router";
|
2022-02-03 06:00:57 +01:00
|
|
|
|
2023-02-06 22:53:37 +01:00
|
|
|
import { UpdatePasswordComponent as BaseUpdatePasswordComponent } from "@bitwarden/angular/auth/components/update-password.component";
|
2022-06-14 17:10:53 +02:00
|
|
|
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
|
|
|
import { CryptoService } from "@bitwarden/common/abstractions/crypto.service";
|
|
|
|
import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
|
|
|
import { LogService } from "@bitwarden/common/abstractions/log.service";
|
|
|
|
import { MessagingService } from "@bitwarden/common/abstractions/messaging.service";
|
|
|
|
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
2022-08-08 11:04:36 +02:00
|
|
|
import { PolicyService } from "@bitwarden/common/abstractions/policy/policy.service.abstraction";
|
2022-06-14 17:10:53 +02:00
|
|
|
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
2022-08-10 03:31:02 +02:00
|
|
|
import { UserVerificationService } from "@bitwarden/common/abstractions/userVerification/userVerification.service.abstraction";
|
2023-03-10 21:39:46 +01:00
|
|
|
import { PasswordGenerationServiceAbstraction } from "@bitwarden/common/tools/generator/password";
|
2022-02-03 06:00:57 +01:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: "app-update-password",
|
|
|
|
templateUrl: "update-password.component.html",
|
|
|
|
})
|
|
|
|
export class UpdatePasswordComponent extends BaseUpdatePasswordComponent {
|
|
|
|
constructor(
|
|
|
|
router: Router,
|
|
|
|
i18nService: I18nService,
|
|
|
|
platformUtilsService: PlatformUtilsService,
|
2023-03-10 21:39:46 +01:00
|
|
|
passwordGenerationService: PasswordGenerationServiceAbstraction,
|
2022-02-03 06:00:57 +01:00
|
|
|
policyService: PolicyService,
|
|
|
|
cryptoService: CryptoService,
|
|
|
|
messagingService: MessagingService,
|
|
|
|
apiService: ApiService,
|
|
|
|
logService: LogService,
|
|
|
|
stateService: StateService,
|
|
|
|
userVerificationService: UserVerificationService
|
|
|
|
) {
|
|
|
|
super(
|
|
|
|
router,
|
|
|
|
i18nService,
|
|
|
|
platformUtilsService,
|
|
|
|
passwordGenerationService,
|
|
|
|
policyService,
|
|
|
|
cryptoService,
|
|
|
|
messagingService,
|
|
|
|
apiService,
|
|
|
|
stateService,
|
|
|
|
userVerificationService,
|
|
|
|
logService
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|