mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-30 18:59:49 +03:00
1c6b8752b8
Broken in https://github.com/matrix-org/synapse/pull/8275 and has yet to be put in a release. Fixes https://github.com/matrix-org/synapse/issues/8418. `next_link` is an optional parameter. However, we were checking whether the `next_link` param was valid, even if it wasn't provided. In that case, `next_link` was `None`, which would clearly not be a valid URL. This would prevent password reset and other operations if `next_link` was not provided, and the `next_link_domain_whitelist` config option was set.
1 line
No EOL
132 B
Gherkin
1 line
No EOL
132 B
Gherkin
Add a config option to specify a whitelist of domains that a user can be redirected to after validating their email or phone number. |