From 8b2f7f4cbf7a59cc6c600299df1b1f67fccae93b Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Thu, 9 Apr 2026 16:23:08 +0300 Subject: minor fix set password field shown --- src/components/settings/SecurityPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/settings/SecurityPage.tsx b/src/components/settings/SecurityPage.tsx index 2135696..d9079df 100644 --- a/src/components/settings/SecurityPage.tsx +++ b/src/components/settings/SecurityPage.tsx @@ -10,12 +10,12 @@ export default function SecurityPage() { const hasGoogle = !!user.google_id; const hasPassword = !!user.password; - + const showSetPassword = hasGoogle && !hasPassword; return ( <>
- {hasGoogle && ( + {showSetPassword && (

ЗАДАТЬ ПАРОЛЬ -- cgit v1.3-3-g829e