From ce2a2940f7157bc81408a265ec057986248e70cb Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Sun, 6 Apr 2025 19:01:24 +0300 Subject: [PATCH 1/2] allow any email in CE --- config/config.exs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/config.exs b/config/config.exs index be5ae85b7907..92813fd4184e 100644 --- a/config/config.exs +++ b/config/config.exs @@ -90,4 +90,9 @@ config :sentry, config :prom_ex, :storage_adapter, Plausible.PromEx.StripedPeep config :peep, :bucket_calculator, Plausible.PromEx.Buckets +# https://github.com/plausible/community-edition/issues/210 +# this regex is more permissive than the original one +# and allows the users use whatever they want +config :mail, email_regex: ~r/\S+@\S+/ + import_config "#{config_env()}.exs" From 7616ac305bbdeb59fd1043cbe47d12c4442f413a Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Mon, 7 Apr 2025 09:40:39 +0300 Subject: [PATCH 2/2] Update config/config.exs --- config/config.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index 92813fd4184e..f80d89180257 100644 --- a/config/config.exs +++ b/config/config.exs @@ -92,7 +92,7 @@ config :peep, :bucket_calculator, Plausible.PromEx.Buckets # https://github.com/plausible/community-edition/issues/210 # this regex is more permissive than the original one -# and allows the users use whatever they want +# and allows users to use whatever they want config :mail, email_regex: ~r/\S+@\S+/ import_config "#{config_env()}.exs"