Mostly fix 2nd step email registration
- Don't send u/p: null - Remove unused functions - Moar logging Still doesn't work yet though.
This commit is contained in:
parent
7568a3b2d3
commit
cc74676718
2 changed files with 25 additions and 28 deletions
|
@ -69,7 +69,6 @@ class RecaptchaStage extends Stage {
|
|||
}
|
||||
this.publicKey = publicKey;
|
||||
this._attemptRender();
|
||||
|
||||
return this.defer.promise;
|
||||
}
|
||||
|
||||
|
@ -87,7 +86,8 @@ class RecaptchaStage extends Stage {
|
|||
global.grecaptcha.render('mx_recaptcha', {
|
||||
sitekey: this.publicKey,
|
||||
callback: function(response) {
|
||||
return self.defer.resolve({
|
||||
console.log("Received captcha response");
|
||||
self.defer.resolve({
|
||||
auth: {
|
||||
type: 'm.login.recaptcha',
|
||||
response: response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue