forked from potsda.mn/mobilizon
Handle SSL being already started in LDAP connection
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
a7753e6a5c
commit
bd71dd6cf1
|
@ -215,6 +215,9 @@ defmodule Mobilizon.Service.Auth.LDAPAuthenticator do
|
||||||
:ok ->
|
:ok ->
|
||||||
:ok
|
:ok
|
||||||
|
|
||||||
|
{:error, :tls_already_started} ->
|
||||||
|
:ok
|
||||||
|
|
||||||
error ->
|
error ->
|
||||||
Logger.error("Could not start TLS: #{inspect(error)}")
|
Logger.error("Could not start TLS: #{inspect(error)}")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue