From 1d2a0b801a8c5aad8d7d302df661a16142eddc7d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 4 May 2022 10:25:02 +0200 Subject: [PATCH] nixos/tests/matrix-appservice-irc: disable registration verification The test would previously error out like this: > synapse_homeserver[1155]: synapse.config._base.ConfigError: You have > enabled open registration without any verification. This is a known > vector for spam and abuse. If you would like to allow public > registration, please consider adding email, captcha, or token-based > verification. Otherwise this check can be removed by setting the > `enable_registration_without_verification` config option to `true`. --- nixos/tests/matrix-appservice-irc.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/matrix-appservice-irc.nix b/nixos/tests/matrix-appservice-irc.nix index d1c561f95dbf..70d458523986 100644 --- a/nixos/tests/matrix-appservice-irc.nix +++ b/nixos/tests/matrix-appservice-irc.nix @@ -20,6 +20,9 @@ import ./make-test-python.nix ({ pkgs, ... }: enable_registration = true; + # don't use this in production, always use some form of verification + enable_registration_without_verification = true; + listeners = [ { # The default but tls=false bind_addresses = [