fix(striker-ui-api): set cookie max age to 8 hours

main
Tsu-ba-me 2 years ago
parent 1e84641157
commit bc42b40a5a
  1. 2
      striker-ui-api/src/session.ts

@ -10,7 +10,7 @@ import { getLocalHostUUID, query, timestamp, write } from './lib/accessModule';
import { getSessionSecret } from './lib/getSessionSecret';
import { stderr, stdout, stdoutVar, uuid } from './lib/shell';
const DEFAULT_COOKIE_ORIGINAL_MAX_AGE = 3600000;
const DEFAULT_COOKIE_ORIGINAL_MAX_AGE = 28800000; // 8 hours
export class SessionStore extends BaseSessionStore {
constructor(options = {}) {

Loading…
Cancel
Save