mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-21 20:38:47 +00:00
fix: typo in setting LoginPolicy.IgnoreUnknownUsernames config (#11243)
# Which Problems Are Solved The config `DefaultInstance.LoginPolicy.IgnoreUnknownUsernames` is ignored during application start. # How the Problems Are Solved Fix the typo in the field name `IgnoreUnknownUsernames` associated with the config used while unmarshaling. Previously: `IgnoreUnknownUsername` # Additional Changes N/A # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11007
This commit is contained in:
@@ -76,7 +76,7 @@ type InstanceSetup struct {
|
|||||||
ForceMFA bool
|
ForceMFA bool
|
||||||
ForceMFALocalOnly bool
|
ForceMFALocalOnly bool
|
||||||
HidePasswordReset bool
|
HidePasswordReset bool
|
||||||
IgnoreUnknownUsername bool
|
IgnoreUnknownUsernames bool
|
||||||
AllowDomainDiscovery bool
|
AllowDomainDiscovery bool
|
||||||
DisableLoginWithEmail bool
|
DisableLoginWithEmail bool
|
||||||
DisableLoginWithPhone bool
|
DisableLoginWithPhone bool
|
||||||
@@ -403,7 +403,7 @@ func setupInstanceElements(instanceAgg *instance.Aggregate, setup *InstanceSetup
|
|||||||
setup.LoginPolicy.ForceMFA,
|
setup.LoginPolicy.ForceMFA,
|
||||||
setup.LoginPolicy.ForceMFALocalOnly,
|
setup.LoginPolicy.ForceMFALocalOnly,
|
||||||
setup.LoginPolicy.HidePasswordReset,
|
setup.LoginPolicy.HidePasswordReset,
|
||||||
setup.LoginPolicy.IgnoreUnknownUsername,
|
setup.LoginPolicy.IgnoreUnknownUsernames,
|
||||||
setup.LoginPolicy.AllowDomainDiscovery,
|
setup.LoginPolicy.AllowDomainDiscovery,
|
||||||
setup.LoginPolicy.DisableLoginWithEmail,
|
setup.LoginPolicy.DisableLoginWithEmail,
|
||||||
setup.LoginPolicy.DisableLoginWithPhone,
|
setup.LoginPolicy.DisableLoginWithPhone,
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ func instanceSetupPoliciesConfig() *InstanceSetup {
|
|||||||
ForceMFA bool
|
ForceMFA bool
|
||||||
ForceMFALocalOnly bool
|
ForceMFALocalOnly bool
|
||||||
HidePasswordReset bool
|
HidePasswordReset bool
|
||||||
IgnoreUnknownUsername bool
|
IgnoreUnknownUsernames bool
|
||||||
AllowDomainDiscovery bool
|
AllowDomainDiscovery bool
|
||||||
DisableLoginWithEmail bool
|
DisableLoginWithEmail bool
|
||||||
DisableLoginWithPhone bool
|
DisableLoginWithPhone bool
|
||||||
|
|||||||
Reference in New Issue
Block a user