Fix typo in atom name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
fb23d2a7e4
commit
680b577f1b
@ -78,7 +78,7 @@ defmodule Mobilizon.Service.Auth.LDAPAuthenticator do
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
{:error, err}
|
{:error, err}
|
||||||
when err in [:ldap_search_email_not_found, :ldap_search_email_not_found] ->
|
when err in [:ldap_search_email_not_found, :ldap_search_missing_attributes] ->
|
||||||
{:ldap, err}
|
{:ldap, err}
|
||||||
|
|
||||||
{:error, error} ->
|
{:error, error} ->
|
||||||
@ -146,7 +146,7 @@ defmodule Mobilizon.Service.Auth.LDAPAuthenticator do
|
|||||||
|
|
||||||
{:cn, err} ->
|
{:cn, err} ->
|
||||||
Logger.error("Could not find LDAP attribute CN: #{inspect(err)}")
|
Logger.error("Could not find LDAP attribute CN: #{inspect(err)}")
|
||||||
{:error, :ldap_searcy_missing_attributes}
|
{:error, :ldap_search_missing_attributes}
|
||||||
|
|
||||||
error ->
|
error ->
|
||||||
error
|
error
|
||||||
|
Loading…
Reference in New Issue
Block a user