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

Store retrieved sid in the signupInstance of EmailIdentityStage
pull/21833/head
Luke Barnard 2017-02-14 11:35:12 +00:00 committed by GitHub
commit 0e08646d01
1 changed files with 1 additions and 0 deletions

View File

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