]> git.openstreetmap.org Git - chef.git/commitdiff
Revert "Disable OAuth 1.0a and basic authentication"
authorTom Hughes <tom@compton.nu>
Fri, 31 May 2024 20:13:40 +0000 (21:13 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 31 May 2024 20:13:40 +0000 (21:13 +0100)
This reverts commit df693470d05a8cfd5d9482e69d0052b7e1015020.

cookbooks/web/recipes/cgimap.rb
cookbooks/web/resources/rails_port.rb

index 7188b5373a5ec4238bd891243dfb2fcef91c8fca..d3655068431971c0ee9b2b6802ed0fd9079b1689 100644 (file)
@@ -64,7 +64,7 @@ systemd_service "cgimap" do
   user "rails"
   group "www-data"
   umask "0002"
-  exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30 --basic_auth_support false --oauth_10_support falsE"
+  exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30"
   exec_reload "/bin/kill -HUP $MAINPID"
   runtime_directory "cgimap"
   private_tmp true
index debc4db50c1133d3f9f66f0a22567cc0a7606f9d..3f5078d3487354899d71d1448ea8bbda89f4b750 100644 (file)
@@ -364,9 +364,7 @@ action :create do
     "max_number_of_way_nodes" => node[:web][:max_number_of_way_nodes],
     "max_number_of_relation_members" => node[:web][:max_number_of_relation_members],
     "oauth_10_support" => false,
-    "oauth_10_registration" => false,
-    "oauth_10a_support" => false,
-    "basic_auth_support" => false
+    "oauth_10_registration" => false
   )
 
   if new_resource.memcache_servers