Skip to content

Commit 2e9997b

Browse files
committed
fix(auth): use new expiresIn for jwt
1 parent 1ecf62d commit 2e9997b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/server/auth(auth)/auth.service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports.signToken = function (id) {
3737
return jwt.sign(
3838
{ _id: id },
3939
config.secrets.session,
40-
{ expiresInMinutes: 60 * 5 }
40+
{ expiresIn: 60 * 60 * 5 }
4141
);
4242

4343
};

0 commit comments

Comments
 (0)