import { InputField } from '@/components/ui/inputfield'; import { Button } from '@/components/ui'; import { Separator } from '@/components/ui'; import { useAuthContext } from '@/lib/contexts/Auth.context'; export default function SecurityPage() { const { user } = useAuthContext(); if (!user) return; const hasGoogle = !!user.google_id; const hasPassword = !!user.password; const showSetPassword = hasGoogle && !hasPassword; return ( <>
{showSetPassword && (

ЗАДАТЬ ПАРОЛЬ

)}

СМЕНА ПОЧТЫ

{hasPassword && (

СМЕНА ПАРОЛЯ

)}
); }