From 8b2f7f4cbf7a59cc6c600299df1b1f67fccae93b Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr <l3wdfut4pwr@gmail.com>
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/settings/SecurityPage.tsx')

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 (
         <>
             <div className="flex flex-col flex-start gap-[40px] w-[900px] h-[816px]">
                 <div className="flex flex-col gap-[20px] w-[900px] ">
-                    {hasGoogle && (
+                    {showSetPassword && (
                         <div className="flex flex-col flex-start gap-[20px] w-[310px] h-[241px]">
                             <p className="text-light-violet font-medium">
                                 ЗАДАТЬ ПАРОЛЬ
-- 
cgit v1.3-3-g829e

