fix: management api remove otp (#1010)

* fix: management api remove otp

* add postinstall

* remove mgmt otp

Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
Fabi
2020-11-24 12:06:46 +01:00
committed by GitHub
parent 855725c3c0
commit 75bf0409c4
7 changed files with 71 additions and 2 deletions

View File

@@ -388,6 +388,16 @@ rpc GetUserByID(UserID) returns (UserView) {
};
}
rpc RemoveMfaOTP(UserID) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/users/{id}/mfas/otp"
};
option (caos.zitadel.utils.v1.auth_option) = {
permission: "user.write"
};
}
// Sends an Notification (Email/SMS) with a password reset Link
rpc SendSetPasswordNotification(SetPasswordNotificationRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {