bicep/synapse: define registration secret properly

This commit is contained in:
Daniel Lovbrotte Olsen 2023-09-13 04:53:56 +02:00
parent f92ebbee16
commit 4a6ea9be2d

View File

@ -46,7 +46,6 @@ in {
extraConfigFiles = [
config.sops.secrets."matrix/synapse/dbconfig".path
config.sops.secrets."matrix/synapse/user_registration".path
];
settings = {
@ -81,6 +80,7 @@ in {
mau_stats_only = true;
enable_registration = false;
registration_shared_secret_path = config.sops.secrets."matrix/synapse/user_registration".path;
password_config.enabled = lib.mkForce false;