Disable local registration when using MAS

This commit is contained in:
Andrew Morgan
2026-02-05 14:04:45 +00:00
parent 1b3243cb00
commit 9a8ef99b8c
@@ -199,6 +199,8 @@ const masTest = base.extend<
password_config: { password_config: {
enabled: false, enabled: false,
}, },
// Must be disabled when using MAS.
enable_registration: false,
} as Partial<SynapseConfig>) } as Partial<SynapseConfig>)
.withMatrixAuthenticationService(guestMas) .withMatrixAuthenticationService(guestMas)
.withNetwork(network) .withNetwork(network)