Files
3x-ui/web/assets
MHSanaei c188056f64 Centralize session options and adjust cookies
Configure session cookie options centrally in initRouter and remove per-login MaxAge handling. Deleted SetMaxAge helper and its use in the login flow; session.Options are now applied once using basePath with HttpOnly and SameSite defaults, and MaxAge is set only when the stored setting is available and >0. Also make CookieManager.setCookie treat exdays as optional (only add expires when provided) and stop using a hardcoded 150-day expiry for the lang cookie in the JS language manager.

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2026-04-20 14:00:18 +02:00
..
2025-10-02 01:47:12 +02:00
2025-10-02 01:47:12 +02:00
2025-10-02 01:47:12 +02:00
2025-10-02 01:47:12 +02:00
2024-04-17 16:02:03 +03:30
2024-04-01 10:38:22 +03:30
2023-02-09 22:48:06 +03:30
2024-04-17 16:07:07 +03:30
2025-08-12 12:56:49 +02:00