summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-09 16:23:08 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-09 16:23:08 +0300
commit8b2f7f4cbf7a59cc6c600299df1b1f67fccae93b (patch)
treeaec78f093bf7504392d59860e7b9914da8ffd99e /src
parent54b68d8c69f44b3a61ad9c4e4502f7d6d13e6afd (diff)
minor fix set password field shown
Diffstat (limited to 'src')
-rw-r--r--src/components/settings/SecurityPage.tsx4
1 files changed, 2 insertions, 2 deletions
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">
ЗАДАТЬ ПАРОЛЬ