瀏覽代碼

Further limit the number of peertube signups

Bob Mottram 7 年之前
父節點
當前提交
dd7baf19e0
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-app-peertube

+ 1
- 1
src/freedombone-app-peertube 查看文件

@@ -462,7 +462,7 @@ function peertube_create_config {
462 462
     echo '' >> $peertube_config_file
463 463
     echo 'signup:' >> $peertube_config_file
464 464
     echo '  enabled: true' >> $peertube_config_file
465
-    echo '  limit: 5 # When the limit is reached, registrations are disabled. -1 == unlimited' >> $peertube_config_file
465
+    echo '  limit: 2 # When the limit is reached, registrations are disabled. -1 == unlimited' >> $peertube_config_file
466 466
     echo '' >> $peertube_config_file
467 467
     echo 'user:' >> $peertube_config_file
468 468
     echo '  # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).' >> $peertube_config_file