浏览代码

Update pixelfed config, disable cloud ip bans by default

Daniel Supernault 2 年之前
父节点
当前提交
c1d1272105
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      config/pixelfed.php

+ 4 - 4
config/pixelfed.php

@@ -261,10 +261,10 @@ return [
 		'enabled' => env('PF_BOUNCER_ENABLED', false),
 
 		'cloud_ips' => [
-			'ban_logins' => env('PF_BOUNCER_BAN_CLOUD_LOGINS', true),
-			'ban_signups' => env('PF_BOUNCER_BAN_CLOUD_SIGNUPS', true),
-			'ban_api' => env('PF_BOUNCER_BAN_CLOUD_API', true),
-			'ban_api_strict_mode' => env('PF_BOUNCER_BAN_CLOUD_API_STRICT_MODE', true),
+			'ban_logins' => env('PF_BOUNCER_BAN_CLOUD_LOGINS', false),
+			'ban_signups' => env('PF_BOUNCER_BAN_CLOUD_SIGNUPS', false),
+			'ban_api' => env('PF_BOUNCER_BAN_CLOUD_API', false),
+			'ban_api_strict_mode' => env('PF_BOUNCER_BAN_CLOUD_API_STRICT_MODE', false),
 		],
 	],