mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(portal): fix dump config smtp (#6669)
This can cause issue when sockopts is ommited and tls is not used. Tested with SMTP without and with TLS cf #6665
This commit is contained in:
@@ -607,7 +607,7 @@ defmodule Domain.Config.Definitions do
|
||||
dump: fn map ->
|
||||
Dumper.keyword(map)
|
||||
|> Keyword.update(:tls_options, nil, &Dumper.dump_ssl_opts/1)
|
||||
|> Keyword.update(:sockopts, nil, &Dumper.dump_ssl_opts/1)
|
||||
|> Keyword.update(:sockopts, [], &Dumper.dump_ssl_opts/1)
|
||||
end
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user