fix(striker-ui-api): set cookie max age to 8 hours
This commit is contained in:
parent
1e84641157
commit
bc42b40a5a
@ -10,7 +10,7 @@ import { getLocalHostUUID, query, timestamp, write } from './lib/accessModule';
|
|||||||
import { getSessionSecret } from './lib/getSessionSecret';
|
import { getSessionSecret } from './lib/getSessionSecret';
|
||||||
import { stderr, stdout, stdoutVar, uuid } from './lib/shell';
|
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 {
|
export class SessionStore extends BaseSessionStore {
|
||||||
constructor(options = {}) {
|
constructor(options = {}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user