Skip to content

Commit

Permalink
fix(auth): use new expiresIn for jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
balthazar committed Oct 27, 2015
1 parent 1ecf62d commit 2e9997b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/server/auth(auth)/auth.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exports.signToken = function (id) {
return jwt.sign(
{ _id: id },
config.secrets.session,
{ expiresInMinutes: 60 * 5 }
{ expiresIn: 60 * 60 * 5 }
);

};

0 comments on commit 2e9997b

Please sign in to comment.