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

Fix bug where riot would keep requesting tokens #510

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Oct 11, 2016

We 'activeStage' is an object: we need to check the type

We 'activeStage' is an object: we need to check the type
@richvdh richvdh merged commit ea69129 into develop Oct 11, 2016
richvdh added a commit to matrix-org/synapse that referenced this pull request 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.
@richvdh richvdh deleted the dbkr/fix_multiple_emails branch February 15, 2017 13:16
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