Replace MastodonAPIController.account_register/2 rate limiter

This commit is contained in:
Egor Kislitsyn 2019-06-11 16:06:03 +07:00
commit ad04d12de6
7 changed files with 7 additions and 125 deletions

View file

@ -59,7 +59,7 @@ config :pleroma, Pleroma.ScheduledActivity,
total_user_limit: 3,
enabled: false
config :pleroma, :app_account_creation, max_requests: 5
config :pleroma, :rate_limit, app_account_creation: {1000, 5}
config :pleroma, :http_security, report_uri: "https://endpoint.com"