Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #253 from HackIllinois/staging
Browse files Browse the repository at this point in the history
Auth Refresh Bugfix
  • Loading branch information
YashoSharma authored Feb 24, 2018
2 parents 799189b + bc85d36 commit 64c03c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/controllers/AuthController.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function refreshToken(req, res, next) {

// the requester's token must be valid and present, so we can re-issue
// without requiring a password
_issueByEmail(req.user.email)
_issueByEmail(req.user.get('email'))
.then((auth) => {
res.body = {};
res.body.auth = auth;
Expand Down

0 comments on commit 64c03c5

Please sign in to comment.