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
|
||||
|
||||
{:error, :tls_already_started} ->
|
||||
:ok
|
||||
|
||||
error ->
|
||||
Logger.error("Could not start TLS: #{inspect(error)}")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue