mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 19:16:13 +02:00
🐛 Fix ldap connection handling.
This commit is contained in:
parent
2dbcb4c2a2
commit
727d6b78ce
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
:host {:address (cfg/get :ldap-host)
|
||||
:port (cfg/get :ldap-port)}}]
|
||||
(try
|
||||
(#'ldap/create-connection params)
|
||||
(ldap/connect params)
|
||||
(catch Exception e
|
||||
(ex/raise :type :restriction
|
||||
:code :ldap-disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue