From cfda4e557a2f04fa2801fb023e4d2b28b737b84d Mon Sep 17 00:00:00 2001 From: Vitalii Miagkov <73880785+maposia@users.noreply.github.com> Date: Mon, 8 Dec 2025 17:54:29 +0300 Subject: [PATCH] docs: updated migration info from 3 to 4 version (#250) --- .../install/panel-security/tinyAuth-for-nginx.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/install/panel-security/tinyAuth-for-nginx.md b/docs/install/panel-security/tinyAuth-for-nginx.md index 1b82efc..ddeefcd 100644 --- a/docs/install/panel-security/tinyAuth-for-nginx.md +++ b/docs/install/panel-security/tinyAuth-for-nginx.md @@ -148,6 +148,22 @@ After that, restart nginx and launch tinyAuth docker compose down && docker compose up -d && docker compose logs -f ``` +:::warning + +Important: If you used tinyAuth before 01.12.2025 and updated, you have switched from version 3 to 4. + +::: +## Updating from v3 to v4 + +Starting from v4, Tinyauth is a stateful application that uses a SQLite database to store sessions. This change improves security. For Docker setups, include the following volume: + +```bash +services: + tinyauth: + volumes: + - ./data:/data +``` + ## Issuing API-keys :::info