feat: sync session warning across tabs
Some checks failed
CI / python-validation (push) Has been cancelled
CI / docker-release-gate (push) Has been cancelled
i18n / compile-translations (push) Has been cancelled

This commit is contained in:
Md Bayazid Bostame
2026-04-01 22:24:18 +02:00
parent 6d8c727b29
commit 7312dc0514
2 changed files with 63 additions and 1 deletions

View File

@@ -846,6 +846,7 @@ make backup-verify BACKUP_DIR=backups/backup_YYYYmmdd_HHMMSS</code></pre>
<li><code>SESSION_IDLE_TIMEOUT_SECONDS</code> controls the idle session window.</li>
<li><code>SENSITIVE_ACTION_REAUTH_SECONDS</code> controls when sensitive POST actions require fresh authentication.</li>
<li><code>/session/keepalive/</code> refreshes both session timestamps when the user chooses <code>Angemeldet bleiben</code>.</li>
<li>Open tabs now sync the confirmed session timestamp through browser storage and <code>BroadcastChannel</code>, so extending the session in one tab updates the warning state in the others.</li>
</ul>
<p>This warning is meant to protect work in progress without silently relaxing the security middleware.</p>
</div>