mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-06 11:24:22 +00:00
fix: wrong Attributes
This commit is contained in:
@@ -54,7 +54,7 @@ func ChangedEventFromExisting(
|
||||
ctx,
|
||||
LabelPolicyChangedEventType,
|
||||
),
|
||||
¤t.Policy,
|
||||
¤t.WriteModel,
|
||||
primaryColor,
|
||||
secondaryColor,
|
||||
)
|
||||
|
||||
@@ -67,7 +67,7 @@ func ChangedEventFromExisting(
|
||||
ctx,
|
||||
LoginPolicyChangedEventType,
|
||||
),
|
||||
¤t.Policy,
|
||||
¤t.WriteModel,
|
||||
allowUsernamePassword,
|
||||
allowRegister,
|
||||
allowExternalIDP,
|
||||
|
||||
@@ -52,7 +52,7 @@ func ChangedEventFromExisting(
|
||||
ctx,
|
||||
OrgIAMPolicyChangedEventType,
|
||||
),
|
||||
¤t.Policy,
|
||||
¤t.WriteModel,
|
||||
userLoginMustBeDomain,
|
||||
)
|
||||
return &ChangedEvent{
|
||||
|
||||
@@ -54,7 +54,7 @@ func ChangedEventFromExisting(
|
||||
ctx,
|
||||
PasswordAgePolicyChangedEventType,
|
||||
),
|
||||
¤t.Policy,
|
||||
¤t.WriteModel,
|
||||
expireWarnDays,
|
||||
maxAgeDays,
|
||||
)
|
||||
|
||||
@@ -63,7 +63,7 @@ func ChangedEventFromExisting(
|
||||
ctx,
|
||||
PasswordComplexityPolicyChangedEventType,
|
||||
),
|
||||
¤t.Policy,
|
||||
¤t.WriteModel,
|
||||
minLength,
|
||||
hasLowerCase,
|
||||
hasUpperCase,
|
||||
|
||||
@@ -54,7 +54,7 @@ func ChangedEventFromExisting(
|
||||
ctx,
|
||||
PasswordLockoutPolicyChangedEventType,
|
||||
),
|
||||
¤t.Policy,
|
||||
¤t.WriteModel,
|
||||
maxAttempts,
|
||||
showLockoutFailure,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user