Skip to content

Commit

Permalink
right change
Browse files Browse the repository at this point in the history
  • Loading branch information
darmalovan committed Aug 27, 2024
1 parent 16eb4aa commit bbb6a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/models/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ UserSchema.methods.generateJWT = function() {
var today = new Date();
var exp = new Date(today);

exp.setDate(today.getDate() + 10);
exp.setTime(exp.getTime() + 3600000);

return jwt.sign(
{
Expand Down

0 comments on commit bbb6a3d

Please sign in to comment.