mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Pass the right session ID
This commit is contained in:
parent
f2f5496b78
commit
8d7d338f44
@ -83,6 +83,7 @@ class RecaptchaStage extends Stage {
|
||||
return;
|
||||
}
|
||||
var self = this;
|
||||
// FIXME: Tight coupling here and in CaptchaForm.js
|
||||
global.grecaptcha.render('mx_recaptcha', {
|
||||
sitekey: this.publicKey,
|
||||
callback: function(response) {
|
||||
@ -119,7 +120,7 @@ class EmailIdentityStage extends Stage {
|
||||
"&is_url=" +
|
||||
encodeURIComponent(this.signupInstance.getIdentityServerUrl()) +
|
||||
"&session_id=" +
|
||||
encodeURIComponent(this.signupInstance.params.sessionId);
|
||||
encodeURIComponent(this.signupInstance.getServerData().session);
|
||||
|
||||
return this.client.requestEmailToken(
|
||||
this.signupInstance.email,
|
||||
|
Loading…
Reference in New Issue
Block a user