synapse-product/synapse/config
Richard van der Hoff fa71bb18b5
Drop support for delegating email validation (#13192)
* Drop support for delegating email validation

Delegating email validation to an IS is insecure (since it allows the owner of
the IS to do a password reset on your HS), and has long been deprecated. It
will now cause a config error at startup.

* Update unit test which checks for email verification

Give it an `email` config instead of a threepid delegate

* Remove unused method `requestEmailToken`

* Simplify config handling for email verification

Rather than an enum and a boolean, all we need here is a single bool, which
says whether we are or are not doing email verification.

* update docs

* changelog

* upgrade.md: fix typo

* update version number

this will be in 1.64, not 1.63

* update version number

this one too
2022-07-12 19:18:53 +01:00
..
__init__.py
__main__.py
_base.py
_base.pyi
_util.py
account_validity.py
api.py
appservice.py
auth.py
background_updates.py
cache.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
captcha.py
cas.py
consent.py
database.py
emailconfig.py Drop support for delegating email validation (#13192) 2022-07-12 19:18:53 +01:00
experimental.py
federation.py
groups.py
homeserver.py
jwt.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
key.py
logger.py
metrics.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
modules.py
oembed.py
oidc.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
password_auth_providers.py
push.py
ratelimiting.py Rate limiting invites per issuer (#13125) 2022-06-30 09:44:47 +00:00
redis.py
registration.py Drop support for delegating email validation (#13192) 2022-07-12 19:18:53 +01:00
repository.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
retention.py
room_directory.py
room.py
saml2.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
server_notices.py
server.py
spam_checker.py
sso.py
stats.py
third_party_event_rules.py
tls.py
tracer.py Allow dependency errors to pass through (#13113) 2022-06-30 19:48:04 +02:00
user_directory.py
voip.py
workers.py