Fix formatting

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-01-16 10:08:32 +01:00
parent 01bf7261cd
commit 7e49a80df9
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -156,6 +156,7 @@ defmodule Mobilizon.Service.Auth.LDAPAuthenticator do
String.t() | {:error, :ldap_registration_missing_attributes} | any() String.t() | {:error, :ldap_registration_missing_attributes} | any()
defp do_search_user(connection, base, uid, email, group) do defp do_search_user(connection, base, uid, email, group) do
Logger.debug("Searching user") Logger.debug("Searching user")
with {:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _, _}} <- with {:ok, {:eldap_search_result, [{:eldap_entry, _, attributes}], _, _}} <-
:eldap.search(connection, [ :eldap.search(connection, [
{:base, to_charlist(base)}, {:base, to_charlist(base)},