Add REGISTRATION_REQUIRES_TOKEN to matrix config #46

Merged
marlon merged 2 commits from FunPecan/matrix-synapse:add-registration-token into main 2025-04-15 21:47:06 +00:00
Contributor

This is a WIP at the moment.

I've tried to make these changes to the recipe so that I can make the changes in my real server. And my server is still giving me "registration not enabled" when I try to create a new account.

This is a WIP at the moment. I've tried to make these changes to the recipe so that I can make the changes in my real server. And my server is still giving me "registration not enabled" when I try to create a new account.
FunPecan added 1 commit 2025-04-14 23:52:18 +00:00
Author
Contributor

Oh disregard. This was my error. I hadn't updated my server instance .env file to enable registrations. That fixed the issue.

So that means this pull request should be ready to go!

Oh disregard. This was my error. I hadn't updated my server instance `.env` file to enable registrations. That fixed the issue. So that means this pull request should be ready to go!
decentral1se reviewed 2025-04-15 06:57:27 +00:00
decentral1se left a comment
Owner

Great stuff 🌻

Great stuff 🌻
@ -132,6 +132,8 @@ turn_allow_guests: {{ env "TURN_ALLOW_GUESTS" }}
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_registration
enable_registration: {{ env "ENABLE_REGISTRATION" }}
registration_requires_token: {{ env "REGISTRATION_REQUIRES_TOKEN" }}
Owner

@FunPecan you'll also need to bump the abra.sh version for the homeserver config or else maintainers running updates will receive an error. This one:

abra.sh Line 3 in 0645a9f487
export HOMESERVER_YAML_VERSION=v29

@FunPecan you'll also need to bump the `abra.sh` version for the homeserver config or else maintainers running updates will receive an error. This one: https://git.coopcloud.tech/coop-cloud/matrix-synapse/src/commit/0645a9f48784fabfb461e62ecb644aa3b9a43146/abra.sh#L3
decentral1se marked this conversation as resolved
FunPecan added 1 commit 2025-04-15 15:45:14 +00:00
Author
Contributor

Updated!

Updated!
Owner

Updated!

Perfect, thanks for the update. Looks ready to merge to me, I can do it shortly if there's no other notes.

> Updated! Perfect, thanks for the update. Looks ready to merge to me, I can do it shortly if there's no other notes.
decentral1se approved these changes 2025-04-15 16:03:28 +00:00
marlon merged commit 32721ace23 into main 2025-04-15 21:47:06 +00:00
Sign in to join this conversation.
No description provided.