-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Disabling 3pid changes still sends validation email #12277
Comments
The process of adding an email during registration is:
For adding an email to your account after it's already been created, the process is:
Currently the check behind |
@anoadragon453 I guess the check already exists in step 1. This is the POST handler for the endpoint
|
I would like to bump this issue as it is causing some usability questions in my institution as well. The two relevant points in synapse code are: synapse/synapse/rest/client/account.py Line 340 in 1a1abdd
synapse/synapse/rest/client/account.py Line 645 in 1a1abdd
If it somehow helps with the process I can of course post some merge request, but I assume since it's such a minor change it's easier for you (synapse devs) to just change it yourself (?) Anyways, thanks for your great work! |
Would the fix for this issue be to send back http code 400 and message : "3PID changes are disabled on this server" when Test case: synapse/tests/rest/client/test_account.py Line 693 in 54c012c
synapse/tests/rest/client/test_account.py Line 979 in 54c012c
|
Yes, that's the fix proposed by anoadragon453 in #12277 (comment). |
I have PR #14682 ready for review. |
* Fixes #12277 :Disable sending confirmation email when 3pid is disabled * Fix test_add_email_if_disabled test case to reflect changes to enable_3pid_changes flag * Add changelog file * Rename newsfragment. Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
I want to disable removing/adding email addresses, but only allow this during registration.
Reproduce the bug with:
enable_3pid_changes: false
on configuration file.Synapse should deny the request at start, and not send verification email.
The text was updated successfully, but these errors were encountered: