mirror of https://github.com/portainer/portainer
fix(api): fix missing default settings for LDAPSettings
parent
182f3734d0
commit
521a36e629
|
@ -259,10 +259,14 @@ func initSettings(settingsService portainer.SettingsService, flags *portainer.CL
|
||||||
LogoURL: *flags.Logo,
|
LogoURL: *flags.Logo,
|
||||||
AuthenticationMethod: portainer.AuthenticationInternal,
|
AuthenticationMethod: portainer.AuthenticationInternal,
|
||||||
LDAPSettings: portainer.LDAPSettings{
|
LDAPSettings: portainer.LDAPSettings{
|
||||||
AutoCreateUsers: true,
|
AutoCreateUsers: true,
|
||||||
TLSConfig: portainer.TLSConfiguration{},
|
TLSConfig: portainer.TLSConfiguration{},
|
||||||
SearchSettings: []portainer.LDAPSearchSettings{},
|
SearchSettings: []portainer.LDAPSearchSettings{
|
||||||
GroupSearchSettings: []portainer.LDAPGroupSearchSettings{},
|
portainer.LDAPSearchSettings{},
|
||||||
|
},
|
||||||
|
GroupSearchSettings: []portainer.LDAPGroupSearchSettings{
|
||||||
|
portainer.LDAPGroupSearchSettings{},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
OAuthSettings: portainer.OAuthSettings{},
|
OAuthSettings: portainer.OAuthSettings{},
|
||||||
AllowBindMountsForRegularUsers: true,
|
AllowBindMountsForRegularUsers: true,
|
||||||
|
|
Loading…
Reference in New Issue