diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-27 14:43:27 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-27 14:53:10 +0100 |
commit | 1ef3627b055ebb738422623c7bb68eca923e27fb (patch) | |
tree | f4ed919e743b615fd72cacc40793d37bb06d48e7 /synapse | |
parent | Merge branch 'babolivier/account_validity_send_mail_auth' into dinsic (diff) | |
download | synapse-1ef3627b055ebb738422623c7bb68eca923e27fb.tar.xz |
Fix new 3PID bindings being associated with rewritten IS's server names instead of the original one
This would make unbind requests fail because Synapse is using the server name it has in DB as destination_is to generate signature, and Sydent uses its own server name there when verifying it, so if a mismatch happens, which is the case if the name gets rewritten for routing purposes, the unbind requests fail on the signature verification.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/identity.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py |