1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Merge pull request #510 from matrix-org/dbkr/fix_multiple_emails

Fix bug where riot would keep requesting tokens
This commit is contained in:
Richard van der Hoff
2016-10-11 10:22:16 +01:00
committed by GitHub

View File

@@ -160,7 +160,7 @@ class Register extends Signup {
if (flow) {
console.log("Active flow => %s", JSON.stringify(flow));
var flowStage = self.firstUncompletedStage(flow);
if (flowStage != self.activeStage) {
if (flowStage != self.activeStage.type) {
return self._startStage(client, flowStage).catch(function(err) {
self.setStep('START');
throw err;