We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161aaa4 commit 00c3d27Copy full SHA for 00c3d27
src/auth/auth.service.ts
@@ -105,7 +105,7 @@ export class AuthService {
105
let expiration: Date | undefined;
106
if (expiresIn) {
107
expiration = new Date();
108
- expiration.setSeconds(expiration.getSeconds() + expiresIn);
+ expiration.setTime(expiration.getTime() + expiresIn * 1000);
109
}
110
const data: JwtPayload = {
111
email: user.email,
0 commit comments