feat: use custom verify token policy (#5836)

This commit is contained in:
DarkSky
2024-02-20 09:47:27 +08:00
committed by GitHub
parent df157819dc
commit fd18732e6e
2 changed files with 19 additions and 1 deletions
@@ -5,7 +5,7 @@ import { SessionCache } from '../cache';
@Injectable()
export class SessionService {
private readonly prefix = 'session:';
private readonly sessionTtl = 30 * 60 * 1000; // 30 min
public readonly sessionTtl = 30 * 60 * 1000; // 30 min
constructor(private readonly cache: SessionCache) {}