mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 08:56:10 +02:00
🐛 Fix ldap connection handling.
This commit is contained in:
parent
2dbcb4c2a2
commit
727d6b78ce
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@
|
||||||
org.apache.commons/commons-pool2 {:mvn/version "2.9.0"}
|
org.apache.commons/commons-pool2 {:mvn/version "2.9.0"}
|
||||||
com.sun.mail/jakarta.mail {:mvn/version "2.0.0"}
|
com.sun.mail/jakarta.mail {:mvn/version "2.0.0"}
|
||||||
|
|
||||||
puppetlabs/clj-ldap {:mvn/version"0.3.0"}
|
org.clojars.pntblnk/clj-ldap {:mvn/version "0.0.17"}
|
||||||
integrant/integrant {:mvn/version "0.8.0"}
|
integrant/integrant {:mvn/version "0.8.0"}
|
||||||
|
|
||||||
software.amazon.awssdk/s3 {:mvn/version "2.16.19"}
|
software.amazon.awssdk/s3 {:mvn/version "2.16.19"}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
:host {:address (cfg/get :ldap-host)
|
:host {:address (cfg/get :ldap-host)
|
||||||
:port (cfg/get :ldap-port)}}]
|
:port (cfg/get :ldap-port)}}]
|
||||||
(try
|
(try
|
||||||
(#'ldap/create-connection params)
|
(ldap/connect params)
|
||||||
(catch Exception e
|
(catch Exception e
|
||||||
(ex/raise :type :restriction
|
(ex/raise :type :restriction
|
||||||
:code :ldap-disabled
|
:code :ldap-disabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue