summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2020-08-07 21:05:44 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2020-08-07 21:05:44 +0300
commitf21b6ebd5d71b77b1f2b7c8918005c3b70752c15 (patch)
tree7beddc568e0e1430ab6bc8fdbc4c6d9d04744d49 /config
parent8e1f7a3eff05a43f59f15dc6fa0483713e221fa7 (diff)
parent8e90cc58e7ec3f19f03d049ff541750f1ab4774e (diff)
Merge branch 'feature/update-welcome-setting-in-description' of git.pleroma.social:pleroma/pleroma into feature/update-welcome-setting-in-description
Diffstat (limited to 'config')
-rw-r--r--config/config.exs3
-rw-r--r--config/description.exs10
-rw-r--r--config/test.exs2
3 files changed, 12 insertions, 3 deletions
diff --git a/config/config.exs b/config/config.exs
index fa8051e40..933a899ab 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -516,7 +516,8 @@ config :pleroma, Pleroma.User,
"user_exists",
"users",
"web"
- ]
+ ],
+ email_blacklist: []
config :pleroma, Oban,
repo: Pleroma.Repo,
diff --git a/config/description.exs b/config/description.exs
index e2f78e77d..7734ff7a1 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -982,8 +982,7 @@ config :pleroma, :config_description, [
%{
key: :message,
type: :string,
- description:
- "A message that will be sent to newly registered users",
+ description: "A message that will be sent to newly registered users",
suggestions: [
"Hi, @username! Welcome on board!"
]
@@ -3057,6 +3056,7 @@ config :pleroma, :config_description, [
%{
key: :restricted_nicknames,
type: {:list, :string},
+ description: "List of nicknames users may not register with.",
suggestions: [
".well-known",
"~",
@@ -3089,6 +3089,12 @@ config :pleroma, :config_description, [
"users",
"web"
]
+ },
+ %{
+ key: :email_blacklist,
+ type: {:list, :string},
+ description: "List of email domains users may not register with.",
+ suggestions: ["mailinator.com", "maildrop.cc"]
}
]
},
diff --git a/config/test.exs b/config/test.exs
index db0655e73..413c7f0b9 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -120,6 +120,8 @@ config :pleroma, Pleroma.Uploaders.S3,
config :tzdata, :autoupdate, :disabled
+config :pleroma, :mrf, policies: []
+
if File.exists?("./config/test.secret.exs") do
import_config "test.secret.exs"
else