diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2019-07-16 21:44:50 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-07-16 21:44:50 +0000 |
commit | 10f82c88b88fa4d26f6fa57f9cf36439012b8d0c (patch) | |
tree | 1740bc35a064b2eb6a7e8beed0796d1ab7192a89 /config/config.exs | |
parent | 33fbb638cd815037741be25d0e47c3d16cc96971 (diff) | |
download | pleroma-10f82c88b88fa4d26f6fa57f9cf36439012b8d0c.tar.gz pleroma-10f82c88b88fa4d26f6fa57f9cf36439012b8d0c.zip |
mastoapi password reset
added rate limit to password reset
configure rate limit in runtime
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 03e0341c8..38780eef7 100644 --- a/config/config.exs +++ b/config/config.exs @@ -531,7 +531,8 @@ config :pleroma, :rate_limit, relations_actions: {10_000, 10}, relation_id_action: {60_000, 2}, statuses_actions: {10_000, 15}, - status_id_action: {60_000, 3} + status_id_action: {60_000, 3}, + password_reset: {1_800_000, 5} # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. |