mirror of https://github.com/vector-im/riot-web
Store retrieved sid in the signupInstance of EmailIdentityStage
When registeration is complete, the RTS needs the sid, which was previously only sent to the HS. This update will also store it in the signupInstance so that it can be sent to the RTS.pull/21833/head
parent
18cba1fe45
commit
6996291f0c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue