Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Consider improving SYNAPSE_ENABLE_REGISTRATION handling in docker #3458

Closed
pkoziol opened this issue Jun 28, 2018 · 2 comments
Closed

Consider improving SYNAPSE_ENABLE_REGISTRATION handling in docker #3458

pkoziol opened this issue Jun 28, 2018 · 2 comments
Assignees
Labels
A-Docker Docker images, or making it easier to run Synapse in a container. z-minor (Deprecated Label) z-p3 (Deprecated Label)

Comments

@pkoziol
Copy link

pkoziol commented Jun 28, 2018

Description

Recently I discovered that my server allowed people to register. It turns out that setting in docker-compose.yml:

- SYNAPSE_ENABLE_REGISTRATION=no

doesn't disable registration. You have to remove variable completly.

I know (now) that contrib/docker/README.md says to set this variable to enable registration, so one may guess that you should unset variable to disable registration.

I'm not that smart apparently.

Version information

  • Homeserver: my private homeserver
  • Version: 0.31.1
  • Install method: docker-compose
  • Platform: docker
@turt2live
Copy link
Member

This also tripped me up a couple times. Falsey words should be falsey imo

@neilisfragile neilisfragile added z-p3 (Deprecated Label) z-minor (Deprecated Label) labels Jul 10, 2018
@richvdh richvdh added the A-Docker Docker images, or making it easier to run Synapse in a container. label Jun 19, 2019
@hawkowl
Copy link
Contributor

hawkowl commented Jun 25, 2019

As per #5518 , we're going to remove support for the environment variable method of configuration, which will fix this bug by making it more explicit what the configuration is.

@hawkowl hawkowl closed this as completed Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Docker Docker images, or making it easier to run Synapse in a container. z-minor (Deprecated Label) z-p3 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

6 participants