]> git.openstreetmap.org Git - chef.git/commitdiff
community: add mail receiver API key
authorGrant Slater <git@firefishy.com>
Thu, 10 Mar 2022 18:48:38 +0000 (18:48 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 10 Mar 2022 18:48:38 +0000 (18:48 +0000)
cookbooks/community/templates/default/mail-receiver.yml.erb

index da96fcdd86eb61382507b25a089b399e2a309670..2d214e942fe3c226e0ef2003d2cdd917c74cf1e7 100644 (file)
@@ -33,7 +33,7 @@ env:
 
   ## The master API key of your Discourse forum.  You can get this from
   ## the "API" tab of your admin panel.
-  DISCOURSE_API_KEY: abcdefghijklmnop
+  DISCOURSE_API_KEY: '<%= @passwords["mail_receiver_api_key"] %>'
 
   ## The username to use for processing incoming e-mail.  Unless you have
   ## renamed the `system` user, you should leave this as-is.