commit 2dafc722815291932ac92ddb2b2ab44c9fedca21
parent 8bf256a783e7a8773f60e464aa59e7c59b51424b
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 14 Apr 2025 00:35:19 +0200
address type should be postal or postal-ch
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/roles/challenger/templates/etc/challenger/challenger-postal.conf.j2 b/roles/challenger/templates/etc/challenger/challenger-postal.conf.j2
@@ -27,12 +27,12 @@ VALIDATION_EXPIRATION = 3650d
# Name of a file with the message to send with the challenge.
MESSAGE_TEMPLATE_FILE = /etc/challenger/postal-message-template.txt
-# What address type are we validating? (phone, email, address, etc.)
+# What address type are we validating? (phone, email, postal, etc.)
# A template of the form 'enter-$ADDRESS_TYPE-form' must
# exist and the field names must be supported by the
# AUTH_COMMAND.
#
-ADDRESS_TYPE = address
+ADDRESS_TYPE = postal-ch
# What addresses are allowed.
ADDRESS_RESTRICTIONS = {"zip":{"hint":"numeric zip code required","regex":"^[0-9]+$"}, "country":{"hint":"{{ EXCHANGE_AML_PROGRAM_TOPS_POSTAL_COUNTRY_HINT }}","regex":"^{{ EXCHANGE_AML_PROGRAM_TOPS_POSTAL_COUNTRY_REGEX }}$"}}