mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
feat(server): extend jwt expiration (#1187)
This commit is contained in:
parent
4e860b024b
commit
c27c89a680
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@ import { jwtSecret } from '../constants/jwt.constant';
|
|||
|
||||
export const jwtConfig: JwtModuleOptions = {
|
||||
secret: jwtSecret,
|
||||
signOptions: { expiresIn: '7d' },
|
||||
signOptions: { expiresIn: '30d' },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue