mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 17:23:21 +03:00
feat(server): extend jwt expiration (#1187)
This commit is contained in:
@@ -3,5 +3,5 @@ import { jwtSecret } from '../constants/jwt.constant';
|
|||||||
|
|
||||||
export const jwtConfig: JwtModuleOptions = {
|
export const jwtConfig: JwtModuleOptions = {
|
||||||
secret: jwtSecret,
|
secret: jwtSecret,
|
||||||
signOptions: { expiresIn: '7d' },
|
signOptions: { expiresIn: '30d' },
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user