diff --git a/app/templates/server/auth(auth)/auth.service.js b/app/templates/server/auth(auth)/auth.service.js index edd16506a..97315cb10 100644 --- a/app/templates/server/auth(auth)/auth.service.js +++ b/app/templates/server/auth(auth)/auth.service.js @@ -72,7 +72,7 @@ function hasRole(roleRequired) { */ function signToken(id, role) { return jwt.sign({ _id: id, role: role }, config.secrets.session, { - expiresInMinutes: 60 * 5 + expiresIn: 60 * 60 * 5 }); }