Handle SSL being already started in LDAP connection

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-08-03 14:58:06 +02:00
parent a7753e6a5c
commit bd71dd6cf1
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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