mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 09:47:46 +03:00
Смена времени действия jwt токенов.
This commit is contained in:
@@ -15,7 +15,7 @@ import { V2AuthController } from "./v2-auth.controller";
|
|||||||
JwtModule.register({
|
JwtModule.register({
|
||||||
global: true,
|
global: true,
|
||||||
secret: jwtConstants.secret,
|
secret: jwtConstants.secret,
|
||||||
signOptions: { expiresIn: "720h" },
|
signOptions: { expiresIn: "4y" },
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
providers: [AuthService, PrismaService],
|
providers: [AuthService, PrismaService],
|
||||||
|
|||||||
Reference in New Issue
Block a user