Merge pull request #692 from matrix-org/luke/fix-missing-sid

Store retrieved sid in the signupInstance of EmailIdentityStage
This commit is contained in:
Luke Barnard 2017-02-14 11:35:12 +00:00 committed by GitHub
commit 0e08646d01

View file

@ -149,6 +149,7 @@ class EmailIdentityStage extends Stage {
nextLink nextLink
).then(function(response) { ).then(function(response) {
self.sid = response.sid; self.sid = response.sid;
self.signupInstance.setIdSid(self.sid);
return self._completeVerify(); return self._completeVerify();
}).then(function(request) { }).then(function(request) {
request.poll_for_success = true; request.poll_for_success = true;