Skip to content

Commit 6542284

Browse files
committed
Disable OAuth 1.0a and basic authentication
1 parent 15dbc13 commit 6542284

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

cookbooks/web/recipes/cgimap.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
"CGIMAP_MAP_NODES" => node[:web][:max_number_of_nodes],
5151
"CGIMAP_MAX_WAY_NODES" => node[:web][:max_number_of_way_nodes],
5252
"CGIMAP_MAX_RELATION_MEMBERS" => node[:web][:max_number_of_relation_members],
53-
"CGIMAP_RATELIMIT_UPLOAD" => "true"
53+
"CGIMAP_RATELIMIT_UPLOAD" => "true",
54+
"CGIMAP_OAUTH_10_SUPPORT" => "false",
55+
"CGIMAP_BASIC_AUTH_SUPPORT" => "false"
5456
}
5557

5658
if %w[database_readonly api_readonly].include?(node[:web][:status])

cookbooks/web/resources/rails_port.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,9 @@
364364
"max_number_of_way_nodes" => node[:web][:max_number_of_way_nodes],
365365
"max_number_of_relation_members" => node[:web][:max_number_of_relation_members],
366366
"oauth_10_support" => false,
367-
"oauth_10_registration" => false
367+
"oauth_10_registration" => false,
368+
"oauth_10a_support" => false,
369+
"basic_auth_support" => false
368370
)
369371

370372
if new_resource.memcache_servers

0 commit comments

Comments
 (0)