From b8057b3c4f813726cda7b2d31d7730c49c8d1a06 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 6 Apr 2025 13:52:57 +0300 Subject: [PATCH] Decrease session extension interval to 10 minutes --- public/scripts/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/user.js b/public/scripts/user.js index 705542940..4af057c74 100644 --- a/public/scripts/user.js +++ b/public/scripts/user.js @@ -9,8 +9,8 @@ import { ensureImageFormatSupported, getBase64Async, humanFileSize } from './uti export let currentUser = null; export let accountsEnabled = false; -// Extend the session every 30 minutes -const SESSION_EXTEND_INTERVAL = 30 * 60 * 1000; +// Extend the session every 10 minutes +const SESSION_EXTEND_INTERVAL = 10 * 60 * 1000; /** * Enable or disable user account controls in the UI.