aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendritejs-pinecone
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendritejs-pinecone')
-rw-r--r--cmd/dendritejs-pinecone/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dendritejs-pinecone/main.go b/cmd/dendritejs-pinecone/main.go
index 0d4b2fbc..5ecf1f2f 100644
--- a/cmd/dendritejs-pinecone/main.go
+++ b/cmd/dendritejs-pinecone/main.go
@@ -171,6 +171,8 @@ func startup() {
cfg.Global.KeyID = gomatrixserverlib.KeyID(signing.KeyID)
cfg.Global.PrivateKey = sk
cfg.Global.ServerName = gomatrixserverlib.ServerName(hex.EncodeToString(pk))
+ cfg.ClientAPI.RegistrationDisabled = false
+ cfg.ClientAPI.OpenRegistrationWithoutVerificationEnabled = true
if err := cfg.Derive(); err != nil {
logrus.Fatalf("Failed to derive values from config: %s", err)