diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2022-04-29 09:31:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-29 09:31:11 +0200 |
commit | 26a1512808282c954a141b3376c47b05ef1e6ab4 (patch) | |
tree | 6eacc656dc120186be9505b0b9568ba878ef660b /cmd/dendrite-upgrade-tests/main.go | |
parent | 2a5b8e0306a283aa8ca64822d59d71479ffba59a (diff) |
Add restrictions for open registration (#2402)
* Add restrications for open registration
* Make enable open registration a parameter
* Enable registration for CI
* Update error message
* Shuffle things around a bit
* Add a warning at every startup just to be extra annoying
* Ignore shared secret when warning about open registration, since it's not strictly required when it is set if registration is otherwise enabled
* Make CI happy?
* Add missing parameter; try new parameter in upgrade-test
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'cmd/dendrite-upgrade-tests/main.go')
-rw-r--r-- | cmd/dendrite-upgrade-tests/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dendrite-upgrade-tests/main.go b/cmd/dendrite-upgrade-tests/main.go index 3241234a..b7e7da07 100644 --- a/cmd/dendrite-upgrade-tests/main.go +++ b/cmd/dendrite-upgrade-tests/main.go @@ -83,7 +83,8 @@ do \n\ done \n\ \n\ sed -i "s/server_name: localhost/server_name: ${SERVER_NAME}/g" dendrite.yaml \n\ -./dendrite-monolith-server --tls-cert server.crt --tls-key server.key --config dendrite.yaml \n\ +PARAMS="--tls-cert server.crt --tls-key server.key --config dendrite.yaml" \n\ +./dendrite-monolith-server --really-enable-open-registration ${PARAMS} || ./dendrite-monolith-server ${PARAMS} \n\ ' > run_dendrite.sh && chmod +x run_dendrite.sh ENV SERVER_NAME=localhost |