summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-09-17 16:16:11 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-09-17 16:16:11 +0300
commite7afb67c5c26fcb07c1f8d4390c0573cebef9520 (patch)
tree3a651340144d4b5f799df9fe9bf4d561dc60dd51 /config/config.exs
parenta58f29b826333c1ecb0907228f0e087a3ecd9778 (diff)
downloadpleroma-e7afb67c5c26fcb07c1f8d4390c0573cebef9520.tar.gz
pleroma-e7afb67c5c26fcb07c1f8d4390c0573cebef9520.zip
[#1260] Rate-limiting for create authentication and related requests.
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index c7e0cf09f..15979702f 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -585,7 +585,7 @@ config :pleroma, :env, Mix.env()
config :http_signatures,
adapter: Pleroma.Signature
-config :pleroma, :rate_limit, nil
+config :pleroma, :rate_limit, authentication: {60_000, 15}
config :pleroma, Pleroma.ActivityExpiration, enabled: true