aboutsummaryrefslogtreecommitdiff
path: root/src/ldapsp_config.erl
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-02-26 20:43:27 +0100
committerGuido Günther <agx@sigxcpu.org>2017-02-26 21:08:52 +0100
commit8790c6dfc3ee0aad3e969163f117e24e5df09eae (patch)
tree6359f2fa752c2882f54f25c34320f6d3d13bb3fe /src/ldapsp_config.erl
parentba0e7b7e8ceeabb15611272fe7f9fe450f356088 (diff)
Issue start_tls
certificates are not valided yet
Diffstat (limited to 'src/ldapsp_config.erl')
-rw-r--r--src/ldapsp_config.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ldapsp_config.erl b/src/ldapsp_config.erl
index 9ed7fc4..938f7cd 100644
--- a/src/ldapsp_config.erl
+++ b/src/ldapsp_config.erl
@@ -47,10 +47,7 @@ web_config() ->
ldap_config() ->
{ok, Config } = file:consult("priv/ldapsp.conf"),
- Con = proplists:get_value(connection, Config),
- [{server, proplists:get_value(server, Con)},
- {user, proplists:get_value(user, Con)},
- {password, proplists:get_value(password, Con)}].
+ proplists:get_value(connection, Config).
policy_config() ->
{ok, _Module} = compile:file("priv/policy.erl").