mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 05:48:42 +00:00
Improve matching on bind errors
This commit is contained in:
parent
ea63533cf2
commit
2b482e34eb
1 changed files with 2 additions and 2 deletions
|
@ -177,9 +177,9 @@ defmodule Pleroma.LDAP do
|
||||||
:eldap.close(handle)
|
:eldap.close(handle)
|
||||||
:needs_reconnect
|
:needs_reconnect
|
||||||
|
|
||||||
error ->
|
{:error, error} = e ->
|
||||||
Logger.error("Could not bind LDAP user #{name}: #{inspect(error)}")
|
Logger.error("Could not bind LDAP user #{name}: #{inspect(error)}")
|
||||||
{:error, {:ldap_bind_error, error}}
|
e
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue