Skip to content

Commit 877a192

Browse files
authored
fix: Change user MFA requset payload method from unstructured format to flag (#599)
Signed-off-by: daeyeonko <kkdy21@naver.com>
1 parent 85c0f9a commit 877a192

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

proto/spaceone/api/identity/v2/user.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ enum UserRequiredAction {
117117
ENFORCE_MFA = 1;
118118
}
119119

120-
121120
message MFA {
122121
enum State {
123122
NONE = 0;
@@ -162,9 +161,10 @@ message CreateUserRequest {
162161
// If reset_password is true, send email
163162
bool reset_password = 9;
164163
// +optional
165-
MFA mfa = 10;
164+
optional bool enforce_mfa = 10;
166165
// +optional
167-
repeated UserRequiredAction required_actions = 11;
166+
string enforce_mfa_type = 11;
167+
168168
}
169169

170170
//{
@@ -194,9 +194,9 @@ message UpdateUserRequest {
194194
// +optional
195195
bool reset_password = 8;
196196
// +optional
197-
MFA mfa = 9;
197+
optional bool enforce_mfa = 9;
198198
// +optional
199-
repeated UserRequiredAction required_actions = 10;
199+
string enforce_mfa_type = 10;
200200
}
201201

202202
//{

0 commit comments

Comments
 (0)