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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user