Skip to content

Commit

Permalink
nixos/tests/matrix-appservice-irc: disable registration verification
Browse files Browse the repository at this point in the history
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`.

(cherry picked from commit 1d2a0b8)
  • Loading branch information
mweinelt committed May 4, 2022
1 parent 65e9232 commit cffe01a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/tests/matrix-appservice-irc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ import ./make-test-python.nix ({ pkgs, ... }:

enable_registration = true;

extraConfig = ''
# don't use this in production, always use some form of verification
enable_registration_without_verification: true
'';

listeners = [
# The default but tls=false
{
Expand Down

0 comments on commit cffe01a

Please sign in to comment.