Get email auth sending working (not the link back though)
This commit is contained in:
parent
e800d3d477
commit
f2f5496b78
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue