조직 연동 오류 해결
This commit is contained in:
1 parent
42b49674cc
commit
fd82dd9bdd
15 files changed
+592
-30
No files matched your search
@@ -2618,7 +2618,7 @@ func normalizeKratosState(status *string) string {
|
||||
}
|
||||
value := strings.ToLower(strings.TrimSpace(*status))
|
||||
if value == "blocked" {
|
||||
return domain.UserStatusInactive
|
||||
return "inactive"
|
||||
}
|
||||
if value == domain.UserStatusActive {
|
||||
return domain.UserStatusActive
|
||||
@@ -2630,7 +2630,7 @@ func normalizeKratosState(status *string) string {
|
||||
normalized == domain.UserStatusBaronGuest ||
|
||||
normalized == domain.UserStatusExtendedLeave ||
|
||||
normalized == domain.UserStatusArchived {
|
||||
return domain.UserStatusInactive
|
||||
return "inactive"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user