1
0
forked from baron/baron-sso

fix: 내 정보(UpdateMe) 수정 시 커스텀 필드 로그인 ID 동기화 및 Metadata 필드 추가 (#440)

This commit is contained in:
2026-03-25 16:28:19 +09:00
parent 6a4c37603d
commit aad4ea84a1
2 changed files with 38 additions and 4 deletions

View File

@@ -87,10 +87,11 @@ type UserProfileResponse struct {
}
type UpdateUserRequest struct {
Name string `json:"name"`
Phone string `json:"phone"`
Department string `json:"department"`
VerificationCode string `json:"verificationCode,omitempty"` // For phone change
Name string `json:"name"`
Phone string `json:"phone"`
Department string `json:"department"`
VerificationCode string `json:"verificationCode,omitempty"` // For phone change
Metadata map[string]any `json:"metadata,omitempty"`
}
// PasswordResetInitiateRequest is the request body for initiating a password reset.