commit 328c7baf7ec6ef29cd8ab6a0d854a17d87aeea13 parent d01f17e5feaa0e9d8fad9b64773c75f673cb0d0d Author: Florian Dold <florian@dold.me> Date: Fri, 23 Aug 2024 17:29:00 +0200 challenger: restrictions in config Diffstat:
| M | scripts/demo/setup-sandcastle.sh | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh @@ -226,6 +226,7 @@ cat <<EOF >/etc/challenger/conf.d/setup-sandcastle.conf [challenger] ADDRESS_TYPE = email AUTH_COMMAND = /data/sandcastle-challenger-auth +ADDRESS_RESTRICTIONS = {"email":{"hint":"not an e-mail address","regex":"^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$"}} EOF systemctl enable --now challenger-httpd.service