]> git.openstreetmap.org Git - chef.git/commitdiff
Configure totp_domain for web site master
authorTom Hughes <tom@compton.nu>
Thu, 26 Mar 2026 14:28:49 +0000 (14:28 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 26 Mar 2026 14:28:49 +0000 (14:28 +0000)
cookbooks/web/recipes/rails.rb
cookbooks/web/resources/rails_port.rb

index b994ee8290f3086be65620d0674c73e28e359866..fa334a8bef6ec8ffff8d64e8d6b417bd374fc312 100644 (file)
@@ -142,6 +142,7 @@ rails_port "www.openstreetmap.org" do
   tracestrack_key web_passwords["tracestrack_key"]
   maptiler_key web_passwords["maptiler_key"]
   totp_key web_passwords["totp_key"]
+  totp_domain "openstreetmap.org"
   csp_enforce true
   trace_use_job_queue true
   diary_feed_delay 12
index 9211adbcac8bf4022a5bee7858c227a9ea05786f..85c2e428159d3b6b317347cc4ca1046abc97481b 100644 (file)
@@ -74,6 +74,7 @@ property :thunderforest_key, String
 property :tracestrack_key, String
 property :maptiler_key, String
 property :totp_key, String
+property :totp_domain, String
 property :csp_enforce, [true, false], :default => false
 property :csp_report_url, String
 property :matomo_configuration, Hash
@@ -337,6 +338,7 @@ action :create do
     "tracestrack_key",
     "maptiler_key",
     "totp_key",
+    "totp_domain",
     "csp_enforce",
     "csp_report_url",
     "trace_use_job_queue",