This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Allow users to register with a registration token without requiring registration_requires_token to be enabled #12521
Labels
A-Registration
Creating an account
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Currently, the flow for
m.login.registration_token
is only valid when the config flagregistration_requires_token
is enabled. This means even if you have valid registration tokens available in Synapse, they won't work unless they are required by the config. This poses a problem for our system as we use these registration tokens with a Synapse module to perform special actions if the user has registered via a token.It seems fairly harmless to allow these tokens to be used, regardless of Synapse configuration, if the admin has registered these tokens. At the very least it would be nice to differentiate between "required" and "disabled".
The text was updated successfully, but these errors were encountered: