diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-08-02 14:53:42 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-08-02 14:53:42 -0500 |
commit | dc88b6f0919cf5686af7d5b935e8ee462491704b (patch) | |
tree | 04dfcf531841f02036f7daa173796eb1727eb83a /config/description.exs | |
parent | 70951d042b5d7b12608a3f73a73c757fc4204449 (diff) | |
download | pleroma-dc88b6f0919cf5686af7d5b935e8ee462491704b.tar.gz pleroma-dc88b6f0919cf5686af7d5b935e8ee462491704b.zip |
Add email blacklist, fixes #1404
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 11fbe0d78..3fe22e969 100644 --- a/config/description.exs +++ b/config/description.exs @@ -3021,6 +3021,7 @@ config :pleroma, :config_description, [ %{ key: :restricted_nicknames, type: {:list, :string}, + description: "List of nicknames users may not register with.", suggestions: [ ".well-known", "~", @@ -3053,6 +3054,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"] } ] }, |