Fix formatting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
01bf7261cd
commit
7e49a80df9
|
@ -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)},
|
||||||
|
|
Loading…
Reference in a new issue