mirror of
https://github.com/bitwarden/browser
synced 2026-02-21 11:54:02 +00:00
Migrate set initial password component to new API
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
// FIXME: Update this file to be type safe and remove this and next line
|
||||
// @ts-strict-ignore
|
||||
import { SecretVerificationRequest } from "@bitwarden/common/auth/models/request/secret-verification.request";
|
||||
import { UnsignedSharedKey } from "@bitwarden/common/key-management/crypto/models/enc-string";
|
||||
|
||||
export class OrganizationUserResetPasswordEnrollmentRequest extends SecretVerificationRequest {
|
||||
resetPasswordKey: string;
|
||||
resetPasswordKey: UnsignedSharedKey;
|
||||
|
||||
constructor(unsignedSharedKey: UnsignedSharedKey) {
|
||||
super();
|
||||
this.resetPasswordKey = unsignedSharedKey;
|
||||
}
|
||||
}
|
||||
|
||||
export class OrganizationUserResetPasswordWithIdRequest extends OrganizationUserResetPasswordEnrollmentRequest {
|
||||
|
||||
Reference in New Issue
Block a user