@@ -8,8 +8,8 @@ function getCrowdSecOptionsConfig()
8
8
['name ' => 'crowdsec_api_url ' , 'default ' => '' , 'autoInit ' => true ],
9
9
['name ' => 'crowdsec_api_key ' , 'default ' => '' , 'autoInit ' => true ],
10
10
['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 ],
13
13
['name ' => 'crowdsec_stream_mode_refresh_frequency ' , 'default ' => 60 , 'autoInit ' => true ],
14
14
['name ' => 'crowdsec_cache_system ' , 'default ' => Constants::CACHE_SYSTEM_PHPFS , 'autoInit ' => true ],
15
15
['name ' => 'crowdsec_redis_dsn ' , 'default ' => '' , 'autoInit ' => true ],
@@ -21,7 +21,7 @@ function getCrowdSecOptionsConfig()
21
21
['name ' => 'crowdsec_geolocation_cache_duration ' , 'default ' => Constants::CACHE_EXPIRATION_FOR_GEO ,
22
22
'autoInit ' => true ],
23
23
['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 ],
25
25
['name ' => 'crowdsec_trust_ip_forward_array ' , 'default ' => [], 'autoInit ' => true ],
26
26
['name ' => 'crowdsec_theme_color_text_primary ' , 'default ' => 'black ' , 'autoInit ' => true ],
27
27
['name ' => 'crowdsec_theme_color_text_secondary ' , 'default ' => '#AAA ' , 'autoInit ' => true ],
@@ -45,12 +45,12 @@ function getCrowdSecOptionsConfig()
45
45
['name ' => 'crowdsec_theme_text_ban_wall_footer ' , 'default ' => '' , 'autoInit ' => true ],
46
46
['name ' => 'crowdsec_theme_custom_css ' , 'default ' => '' , 'autoInit ' => true ],
47
47
['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 ],
54
54
['name ' => 'crowdsec_geolocation_type ' , 'default ' => Constants::GEOLOCATION_TYPE_MAXMIND , 'autoInit ' => true ],
55
55
['name ' => 'crowdsec_geolocation_maxmind_database_type ' , 'default ' => Constants::MAXMIND_COUNTRY , 'autoInit ' => true ],
56
56
['name ' => 'crowdsec_geolocation_maxmind_database_path ' , 'default ' => '' , 'autoInit ' => true ],
0 commit comments