mirror of https://github.com/vector-im/riot-web
Merge pull request #510 from matrix-org/dbkr/fix_multiple_emails
Fix bug where riot would keep requesting tokenspull/21833/head
commit
ea69129d8c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue