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.
2 parents ce703c3 + 8c40056 commit f0465dfCopy full SHA for f0465df
1 file changed
src/auth/auth.service.ts
@@ -20,7 +20,7 @@ export class AuthService {
20
private async issueAccessToken(payload: JwtPayload) {
21
return await this.jwtModule.signAsync(payload, {
22
secret: process.env.JWT_SECRET ?? '',
23
- expiresIn: process.env.JWT_EXPIRES_IN ?? '6h',
+ expiresIn: process.env.JWT_EXPIRE ?? '2y',
24
});
25
}
26
0 commit comments