summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlink0ff <juri@linkov.net>2019-03-12 18:20:02 +0200
committerlink0ff <juri@linkov.net>2019-03-12 18:20:02 +0200
commit9338f061a303ae3d57a8ea1af524c2ca51929f8d (patch)
treed404e2747babd7e85e7dad1483982d86aa4a5c4d /config
parent88a672fe88deae53d5459d651859be65555e6af2 (diff)
downloadpleroma-9338f061a303ae3d57a8ea1af524c2ca51929f8d.tar.gz
pleroma-9338f061a303ae3d57a8ea1af524c2ca51929f8d.zip
Support LDAP method start_tls
Diffstat (limited to 'config')
-rw-r--r--config/config.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 8544dcc0d..1ed330df2 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -361,6 +361,8 @@ config :pleroma, :ldap,
port: String.to_integer(System.get_env("LDAP_PORT") || "389"),
ssl: System.get_env("LDAP_SSL") == "true",
sslopts: [],
+ tls: System.get_env("LDAP_TLS") == "true",
+ tlsopts: [],
base: System.get_env("LDAP_BASE") || "dc=example,dc=com",
uid: System.get_env("LDAP_UID") || "cn"