1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

Add usesKeyConnector to OrganizationUserUserDetailsResponse (#559)

This commit is contained in:
Oscar Hinton 2021-11-19 15:04:32 +01:00 committed by GitHub
parent 8b01eea446
commit a3e00cdc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,12 +32,14 @@ export class OrganizationUserUserDetailsResponse extends OrganizationUserRespons
name: string;
email: string;
twoFactorEnabled: boolean;
usesKeyConnector: boolean;
constructor(response: any) {
super(response);
this.name = this.getResponseProperty('Name');
this.email = this.getResponseProperty('Email');
this.twoFactorEnabled = this.getResponseProperty('TwoFactorEnabled');
this.usesKeyConnector = this.getResponseProperty('UsesKeyConnector') ?? false;
}
}