added tls as env vars

This commit is contained in:
Henry Oswald 2016-04-06 17:10:43 +01:00
parent 700e376968
commit 7d9de6c216

View file

@ -470,8 +470,10 @@ if process.env["SHARELATEX_LDAP_HOST"]
anonymous: process.env["SHARELATEX_LDAP_ANONYMOUS"] or false
adminDN: process.env["SHARELATEX_LDAP_ADMIN_DN"]
adminPW: process.env["SHARELATEX_LDAP_ADMIN_PW"]
starttls: process.env["SHARELATEX_LDAP_TLS"] or false
tlsOptions:
rejectUnauthorized: process.env["SHARELATEX_LDAP_TLS_OPTS_REJECT_UNAUTH"] or false
ca: process.env["SHARELATEX_LDAP_TLS_OPTS_CA_PATH"] # e.g.'/etc/ldap/ca_certs.pem'