logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 2b482e34ebf5aee49350d8198e6fade8820b3834
parent ea63533cf28be8218a27806b1f6430f0c1ca4a01
Author: Mark Felder <feld@feld.me>
Date:   Tue, 17 Sep 2024 13:54:57 -0400

Improve matching on bind errors

Diffstat:

Mlib/pleroma/ldap.ex4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/pleroma/ldap.ex b/lib/pleroma/ldap.ex @@ -177,9 +177,9 @@ defmodule Pleroma.LDAP do :eldap.close(handle) :needs_reconnect - error -> + {:error, error} = e -> Logger.error("Could not bind LDAP user #{name}: #{inspect(error)}") - {:error, {:ldap_bind_error, error}} + e end end