@@ -8,8 +8,8 @@ function getCrowdSecOptionsConfig()
88 ['name ' => 'crowdsec_api_url ' , 'default ' => '' , 'autoInit ' => true ],
99 ['name ' => 'crowdsec_api_key ' , 'default ' => '' , 'autoInit ' => true ],
1010 ['name ' => 'crowdsec_bouncing_level ' , 'default ' => Constants::BOUNCING_LEVEL_NORMAL , 'autoInit ' => true ],
11- ['name ' => 'crowdsec_public_website_only ' , 'default ' => true , 'autoInit ' => true ],
12- ['name ' => 'crowdsec_stream_mode ' , 'default ' => false , 'autoInit ' => true ],
11+ ['name ' => 'crowdsec_public_website_only ' , 'default ' => ' on ' , 'autoInit ' => true ],
12+ ['name ' => 'crowdsec_stream_mode ' , 'default ' => '' , 'autoInit ' => true ],
1313 ['name ' => 'crowdsec_stream_mode_refresh_frequency ' , 'default ' => 60 , 'autoInit ' => true ],
1414 ['name ' => 'crowdsec_cache_system ' , 'default ' => Constants::CACHE_SYSTEM_PHPFS , 'autoInit ' => true ],
1515 ['name ' => 'crowdsec_redis_dsn ' , 'default ' => '' , 'autoInit ' => true ],
@@ -21,7 +21,7 @@ function getCrowdSecOptionsConfig()
2121 ['name ' => 'crowdsec_geolocation_cache_duration ' , 'default ' => Constants::CACHE_EXPIRATION_FOR_GEO ,
2222 'autoInit ' => true ],
2323 ['name ' => 'crowdsec_fallback_remediation ' , 'default ' => Constants::REMEDIATION_CAPTCHA , 'autoInit ' => true ],
24- ['name ' => 'crowdsec_hide_mentions ' , 'default ' => false , 'autoInit ' => true ],
24+ ['name ' => 'crowdsec_hide_mentions ' , 'default ' => '' , 'autoInit ' => true ],
2525 ['name ' => 'crowdsec_trust_ip_forward_array ' , 'default ' => [], 'autoInit ' => true ],
2626 ['name ' => 'crowdsec_theme_color_text_primary ' , 'default ' => 'black ' , 'autoInit ' => true ],
2727 ['name ' => 'crowdsec_theme_color_text_secondary ' , 'default ' => '#AAA ' , 'autoInit ' => true ],
@@ -45,12 +45,12 @@ function getCrowdSecOptionsConfig()
4545 ['name ' => 'crowdsec_theme_text_ban_wall_footer ' , 'default ' => '' , 'autoInit ' => true ],
4646 ['name ' => 'crowdsec_theme_custom_css ' , 'default ' => '' , 'autoInit ' => true ],
4747 ['name ' => 'crowdsec_random_log_folder ' , 'default ' => bin2hex (random_bytes (64 )), 'autoInit ' => false ],
48- ['name ' => 'crowdsec_debug_mode ' , 'default ' => false , 'autoInit ' => true ],
49- ['name ' => 'crowdsec_display_errors ' , 'default ' => false , 'autoInit ' => true ],
50- ['name ' => 'crowdsec_forced_test_ip ' , 'default ' => "" , 'autoInit ' => true ],
51- ['name ' => 'crowdsec_forced_test_forwarded_ip ' , 'default ' => "" , 'autoInit ' => true ],
52- ['name ' => 'crowdsec_geolocation_enabled ' , 'default ' => false , 'autoInit ' => true ],
53- ['name ' => 'crowdsec_geolocation_save_result ' , 'default ' => false , 'autoInit ' => true ],
48+ ['name ' => 'crowdsec_debug_mode ' , 'default ' => '' , 'autoInit ' => true ],
49+ ['name ' => 'crowdsec_display_errors ' , 'default ' => '' , 'autoInit ' => true ],
50+ ['name ' => 'crowdsec_forced_test_ip ' , 'default ' => '' , 'autoInit ' => true ],
51+ ['name ' => 'crowdsec_forced_test_forwarded_ip ' , 'default ' => '' , 'autoInit ' => true ],
52+ ['name ' => 'crowdsec_geolocation_enabled ' , 'default ' => '' , 'autoInit ' => true ],
53+ ['name ' => 'crowdsec_geolocation_save_result ' , 'default ' => '' , 'autoInit ' => true ],
5454 ['name ' => 'crowdsec_geolocation_type ' , 'default ' => Constants::GEOLOCATION_TYPE_MAXMIND , 'autoInit ' => true ],
5555 ['name ' => 'crowdsec_geolocation_maxmind_database_type ' , 'default ' => Constants::MAXMIND_COUNTRY , 'autoInit ' => true ],
5656 ['name ' => 'crowdsec_geolocation_maxmind_database_path ' , 'default ' => '' , 'autoInit ' => true ],
0 commit comments