Skip to content

Commit 3204df8

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

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cookbooks/web/recipes/cgimap.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
user "rails"
6565
group "www-data"
6666
umask "0002"
67-
exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30"
67+
exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30 --basic_auth_support false --oauth_10_support falsE"
6868
exec_reload "/bin/kill -HUP $MAINPID"
6969
runtime_directory "cgimap"
7070
private_tmp true

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)