You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-04 03:22:43 +03:00
Pass the right session ID
This commit is contained in:
@@ -83,6 +83,7 @@ class RecaptchaStage extends Stage {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var self = this;
|
var self = this;
|
||||||
|
// FIXME: Tight coupling here and in CaptchaForm.js
|
||||||
global.grecaptcha.render('mx_recaptcha', {
|
global.grecaptcha.render('mx_recaptcha', {
|
||||||
sitekey: this.publicKey,
|
sitekey: this.publicKey,
|
||||||
callback: function(response) {
|
callback: function(response) {
|
||||||
@@ -119,7 +120,7 @@ class EmailIdentityStage extends Stage {
|
|||||||
"&is_url=" +
|
"&is_url=" +
|
||||||
encodeURIComponent(this.signupInstance.getIdentityServerUrl()) +
|
encodeURIComponent(this.signupInstance.getIdentityServerUrl()) +
|
||||||
"&session_id=" +
|
"&session_id=" +
|
||||||
encodeURIComponent(this.signupInstance.params.sessionId);
|
encodeURIComponent(this.signupInstance.getServerData().session);
|
||||||
|
|
||||||
return this.client.requestEmailToken(
|
return this.client.requestEmailToken(
|
||||||
this.signupInstance.email,
|
this.signupInstance.email,
|
||||||
|
|||||||
Reference in New Issue
Block a user