fix(portal): dump smtp tls_options correctly (#3214)

Resolves #3208
This commit is contained in:
Antoine
2024-01-16 18:38:19 +01:00
committed by GitHub
parent 32f1981dd0
commit 53fb48741c

View File

@@ -599,7 +599,10 @@ defmodule Domain.Config.Definitions do
# TODO: validate opts are present if adapter is not NOOP one
default: %{},
sensitive: true,
dump: &Dumper.keyword/1
dump: fn map ->
Dumper.keyword(map)
|> Keyword.update(:tls_options, nil, &Dumper.dump_ssl_opts/1)
end
)
##############################################