Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Work around email-spamming Riot bug #1166

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 11, 2016

5d9546f introduced a change to synapse behaviour, in that failures in the interactive-auth process would return the flows and params data as well as an error code (as specced in matrix-org/matrix-spec-proposals#397).

That change exposed a bug in Riot which would make it request a new validation token (and send a new email) each time it got a 401 with a flows parameter (see element-hq/element-web#2447 and the fix at matrix-org/matrix-react-sdk#510).

To preserve compatibility with broken versions of Riot, grandfather in the old behaviour for the email validation stage.

5d9546f introduced a change to synapse behaviour, in that failures in the
interactive-auth process would return the flows and params data as well as an
error code (as specced in matrix-org/matrix-spec-proposals#397).

That change exposed a bug in Riot which would make it request a new validation
token (and send a new email) each time it got a 401 with a `flows` parameter
(see element-hq/element-web#2447 and the fix at
matrix-org/matrix-react-sdk#510).

To preserve compatibility with broken versions of Riot, grandfather in the old
behaviour for the email validation stage.
@richvdh richvdh merged commit 0061e87 into develop Oct 11, 2016
@richvdh richvdh deleted the rav/grandfather_broken_riot_signup branch October 11, 2016 13:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants