fix: wrong Attributes

This commit is contained in:
Fabiennne
2020-12-15 11:43:09 +01:00
parent 7f26f1815b
commit 6532072288
14 changed files with 55 additions and 55 deletions

View File

@@ -54,7 +54,7 @@ func ChangedEventFromExisting(
ctx,
LabelPolicyChangedEventType,
),
&current.Policy,
&current.WriteModel,
primaryColor,
secondaryColor,
)

View File

@@ -67,7 +67,7 @@ func ChangedEventFromExisting(
ctx,
LoginPolicyChangedEventType,
),
&current.Policy,
&current.WriteModel,
allowUsernamePassword,
allowRegister,
allowExternalIDP,

View File

@@ -52,7 +52,7 @@ func ChangedEventFromExisting(
ctx,
OrgIAMPolicyChangedEventType,
),
&current.Policy,
&current.WriteModel,
userLoginMustBeDomain,
)
return &ChangedEvent{

View File

@@ -54,7 +54,7 @@ func ChangedEventFromExisting(
ctx,
PasswordAgePolicyChangedEventType,
),
&current.Policy,
&current.WriteModel,
expireWarnDays,
maxAgeDays,
)

View File

@@ -63,7 +63,7 @@ func ChangedEventFromExisting(
ctx,
PasswordComplexityPolicyChangedEventType,
),
&current.Policy,
&current.WriteModel,
minLength,
hasLowerCase,
hasUpperCase,

View File

@@ -54,7 +54,7 @@ func ChangedEventFromExisting(
ctx,
PasswordLockoutPolicyChangedEventType,
),
&current.Policy,
&current.WriteModel,
maxAttempts,
showLockoutFailure,
)