From 91a43848a11fdab277932d96f75485e52a7e7d47 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 14 Oct 2025 18:32:40 -0500 Subject: [PATCH] enh: jwt_expires_in security warning Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com> --- .../components/admin/Settings/General.svelte | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/components/admin/Settings/General.svelte b/src/lib/components/admin/Settings/General.svelte index 7aedccfe6a..a0fea8a06f 100644 --- a/src/lib/components/admin/Settings/General.svelte +++ b/src/lib/components/admin/Settings/General.svelte @@ -399,6 +399,26 @@ >{$i18n.t("'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.")} + + {#if adminConfig.JWT_EXPIRES_IN === '-1'} +
+ +
+ {/if}