fix: management api remove otp (#1010)

* fix: management api remove otp

* add postinstall

* remove mgmt otp

Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
Fabi
2020-11-24 12:06:46 +01:00
committed by GitHub
co-authored by Max Peintner
parent 855725c3c0
commit 75bf0409c4
7 changed files with 71 additions and 2 deletions
+6
View File
@@ -677,6 +677,12 @@ export class ManagementService {
return this.grpcService.mgmt.getUserMfas(req);
}
public removeMfaOTP(id: string): Promise<Empty> {
const req = new UserID();
req.setId(id);
return this.grpcService.mgmt.removeMfaOTP(req);
}
public SaveUserProfile(
id: string,
firstName?: string,