From 637aa6e30e55310449abcab8fbf8e064237431a8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 9 Jun 2024 16:23:14 +0100 Subject: [PATCH 1/1] Revert "Disable OAuth 1.0a and basic authentication" This reverts commit d15475a0ad553d8a25888589158651850d638376. --- cookbooks/web/recipes/cgimap.rb | 2 +- cookbooks/web/resources/rails_port.rb | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cookbooks/web/recipes/cgimap.rb b/cookbooks/web/recipes/cgimap.rb index 7188b5373..d36550684 100644 --- a/cookbooks/web/recipes/cgimap.rb +++ b/cookbooks/web/recipes/cgimap.rb @@ -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 diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index debc4db50..3f5078d34 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -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 -- 2.39.5