Decrease session extension interval to 10 minutes
| @@ -9,8 +9,8 @@ import { ensureImageFormatSupported, getBase64Async, humanFileSize } from './uti | |||
| 9 | export let currentUser = null; | 9 | export let currentUser = null; |
| 10 | export let accountsEnabled = false; | 10 | export let accountsEnabled = false; |
| 11 | 11 | ||
| 12 | // Extend the session every 30 minutes | 12 | // Extend the session every 10 minutes |
| 13 | const SESSION_EXTEND_INTERVAL = 30 * 60 * 1000; | 13 | const SESSION_EXTEND_INTERVAL = 10 * 60 * 1000; |
| 14 | 14 | ||
| 15 | /** | 15 | /** |
| 16 | * Enable or disable user account controls in the UI. | 16 | * Enable or disable user account controls in the UI. |