Fix: let mailgun_api_key also support their "HTTP webhook signing key" (#8091)

Fix: let mailgun_api_key also support their “HTTP webhook signing key” (#8091)

diff --git a/config/site_settings.yml b/config/site_settings.yml
index 9a5327f..231e25d 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -1012,7 +1012,7 @@ email:
     default: ""
   mailgun_api_key:
     default: ""
-    regex: '^(key-\h{32}|\h{32}-\h{8}-\h{8})$'
+    regex: '^((key-)?\h{32}|\h{32}-\h{8}-\h{8})$'
     secret: true
   bounce_score_threshold:
     client: true

GitHub sha: d7cfb06f

1 Like