You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Get email auth sending working (not the link back though)
This commit is contained in:
@@ -184,7 +184,13 @@ class Register extends Signup {
|
||||
return stage.complete().then(function(request) {
|
||||
if (request.auth) {
|
||||
return self._tryRegister(request.auth);
|
||||
}
|
||||
}
|
||||
else {
|
||||
// never resolve the promise chain. This is for things like email auth
|
||||
// which display a "check your email" message and relies on the
|
||||
// link in the email to actually register you.
|
||||
return q.defer().promise;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user