diff options
author | lain <lain@soykaf.club> | 2018-12-25 20:09:27 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-12-25 20:10:45 +0100 |
commit | 91724d160acc39585c37742204c59b91e59df569 (patch) | |
tree | 7f811d164f717daeaab95c540b26bb68826ba2ad /config | |
parent | 922abcda61298a7bca48894cb9a51a52fdeab1ed (diff) | |
download | pleroma-91724d160acc39585c37742204c59b91e59df569.tar.gz pleroma-91724d160acc39585c37742204c59b91e59df569.zip |
Reserve a few user names
These are all names that are used for domain.com/:route routes or projected to be.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 4b8762761..980c215c8 100644 --- a/config/config.exs +++ b/config/config.exs @@ -220,6 +220,35 @@ config :cors_plug, credentials: true, headers: ["Authorization", "Content-Type", "Idempotency-Key"] +config :pleroma, Pleroma.User, + restricted_nicknames: [ + "main", + "users", + "settings", + "objects", + "activities", + "web", + "registration", + "friend-requests", + "pleroma", + "api", + "tag", + "notice", + "status", + "user-search", + "ostatus_subscribe", + "oauth", + "push", + "relay", + "inbox", + ".well-known", + "nodeinfo", + "auth", + "proxy", + "dev", + "internal" + ] + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs" |