Name the default provider main, to avoid name collisions

parent 8271fac0
...@@ -62,7 +62,7 @@ if Settings.ldap['enabled'] || Rails.env.test? ...@@ -62,7 +62,7 @@ if Settings.ldap['enabled'] || Rails.env.test?
if Settings.ldap['host'].present? if Settings.ldap['host'].present?
server = Settings.ldap.except('sync_time') server = Settings.ldap.except('sync_time')
server['label'] = 'LDAP' server['label'] = 'LDAP'
server['provider_id'] = '' #providername will be ldap server['provider_id'] = 'main'
Settings.ldap['servers'] = [server] Settings.ldap['servers'] = [server]
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment