From 7e7a2e58a2353d141e5a8210c82bab64822ea0b6 Mon Sep 17 00:00:00 2001 From: 3252a8 <3252a8@proton.me> Date: Fri, 29 May 2026 23:09:49 +0300 Subject: [PATCH] fix: show telegram login without email auth --- frontend/src/webapp/auth/AuthScreen.svelte | 105 +++++++++++---------- 1 file changed, 55 insertions(+), 50 deletions(-) diff --git a/frontend/src/webapp/auth/AuthScreen.svelte b/frontend/src/webapp/auth/AuthScreen.svelte index 7df26be..a90981a 100644 --- a/frontend/src/webapp/auth/AuthScreen.svelte +++ b/frontend/src/webapp/auth/AuthScreen.svelte @@ -45,7 +45,8 @@ let authPanelHeight = 0; - $: passwordModeActive = Boolean(passwordLoginMode && CFG.emailAuthEnabled !== false); + $: emailAuthEnabled = CFG.emailAuthEnabled !== false; + $: passwordModeActive = Boolean(passwordLoginMode && emailAuthEnabled); $: authCardHeight = authPanelHeight ? `${authPanelHeight}px` : undefined; @@ -149,46 +150,48 @@ {authStatus} {/if} - {:else if CFG.emailAuthEnabled !== false} -