Compare commits

...

2 commits

Author SHA1 Message Date
summersamara 7f77694d20 Fix issue#5: Bug in updating Group Settings.
Change the default value of address.timezone property.
2023-10-03 12:25:32 +02:00
summersamara 82e9493f44 Fix :public_key.cacerts_load error 2023-10-03 11:35:08 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
tls_options: [
verify: :verify_peer,
versions: [:"tlsv1.2", :"tlsv1.3"],
cacerts: if :public_key.cacerts_load(System.get_env("SSL_CERT_FILE")) == :ok do
cacerts: if System.get_env("SSL_CERT_FILE") != nil and :public_key.cacerts_load(System.get_env("SSL_CERT_FILE")) == :ok do
:public_key.cacerts_get()
end,
server_name_indication: ~c"localhost",

View file

@ -48,7 +48,7 @@ export class Address implements IAddress {
geom?: string = "";
timezone?: string = "";
timezone?: string;
constructor(hash?: IAddress) {
if (!hash) return;