diff options
author | Yohan Boniface <yb@enix.org> | 2019-04-26 13:48:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-26 13:48:55 +0200 |
commit | c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f (patch) | |
tree | 1a6d50694fc1db90bdb6d455d6988eb14eb9fd4b /server/initializers/checker-before-init.ts | |
parent | 4f0f2ab228d73dbec303914dd59b52f6cdaddf46 (diff) | |
download | PeerTube-c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f.tar.gz PeerTube-c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f.tar.zst PeerTube-c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f.zip |
Allow to control RATES_LIMIT from configuration (#1787)
* Allow to control RATES_LIMIT from configuration
* @Chocobozzz review (squash me)
Diffstat (limited to 'server/initializers/checker-before-init.ts')
-rw-r--r-- | server/initializers/checker-before-init.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts index 223ef8078..622ad7d6b 100644 --- a/server/initializers/checker-before-init.ts +++ b/server/initializers/checker-before-init.ts | |||
@@ -27,7 +27,8 @@ function checkMissedConfig () { | |||
27 | 'services.twitter.username', 'services.twitter.whitelisted', | 27 | 'services.twitter.username', 'services.twitter.whitelisted', |
28 | 'followers.instance.enabled', 'followers.instance.manual_approval', | 28 | 'followers.instance.enabled', 'followers.instance.manual_approval', |
29 | 'tracker.enabled', 'tracker.private', 'tracker.reject_too_many_announces', | 29 | 'tracker.enabled', 'tracker.private', 'tracker.reject_too_many_announces', |
30 | 'history.videos.max_age', 'views.videos.remote.max_age' | 30 | 'history.videos.max_age', 'views.videos.remote.max_age', |
31 | 'rates_limit.login.window', 'rates_limit.login.max', 'rates_limit.ask_send_email.window', 'rates_limit.ask_send_email.max' | ||
31 | ] | 32 | ] |
32 | const requiredAlternatives = [ | 33 | const requiredAlternatives = [ |
33 | [ // set | 34 | [ // set |