Skip to content

Commit

Permalink
Merge pull request #524 from firebase/jw-linter-error
Browse files Browse the repository at this point in the history
Fixed bug in $sendPasswordResetEmail()
  • Loading branch information
katowulf committed Jan 8, 2015
2 parents 64dffcb + 756454d commit 664aad0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FirebaseAuth.js
Expand Up @@ -430,7 +430,9 @@
try {
return this.resetPassword(emailOrCredentials);
} catch (error) {
deferred.reject(error);
return this._q(function(resolve, reject) {
return reject(error);
});
}
},

Expand Down

0 comments on commit 664aad0

Please sign in to comment.