From 7e49a80df98651bb3bd3b43d6755c8d36fd78892 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 16 Jan 2023 10:08:32 +0100 Subject: [PATCH] Fix formatting Signed-off-by: Thomas Citharel --- lib/service/auth/ldap_authenticator.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/service/auth/ldap_authenticator.ex b/lib/service/auth/ldap_authenticator.ex index ee17c1868..7a31b1997 100644 --- a/lib/service/auth/ldap_authenticator.ex +++ b/lib/service/auth/ldap_authenticator.ex @@ -156,6 +156,7 @@ defmodule Mobilizon.Service.Auth.LDAPAuthenticator do String.t() | {:error, :ldap_registration_missing_attributes} | any() defp do_search_user(connection, base, uid, email, group) do Logger.debug("Searching user") + with {:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _, _}} <- :eldap.search(connection, [ {:base, to_charlist(base)},