From 7fb0228ac8d3173b4ed4988b99edd4d2795e000c Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 13 Aug 2025 21:58:17 +0400 Subject: [PATCH] refac: conditionally display update password --- src/lib/components/chat/Settings/Account.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index 3e1341d7fb..75dd8aa555 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -268,9 +268,11 @@
-
- -
+ {#if $config?.features.enable_login_form} +
+ +
+ {/if} {#if ($config?.features?.enable_api_key ?? true) || $user?.role === 'admin'}