"use client" import { Loader2, ImageIcon } from "lucide-react" import { Form, FormControl, FormField, FormItem, FormMessage } from "@/app/_components/ui/form" import { Input } from "@/app/_components/ui/input" import { Button } from "@/app/_components/ui/button" import { Avatar, AvatarFallback, AvatarImage } from "@/app/_components/ui/avatar" import { Label } from "@/app/_components/ui/label" import { Separator } from "@/app/_components/ui/separator" import { Switch } from "@/app/_components/ui/switch" import { useProfileFormHandlers } from "../../dashboard/user-management/_handlers/use-profile-form" import { CTexts } from "@/app/_utils/const/texts" export function ProfileSettings() { const { form, fileInputRef, handleFileChange, handleAvatarClick, isPending, user } = useProfileFormHandlers() const email = user?.email || "" const username = user?.profile?.username || "" return (
{email}
Set a permanent password to login to your account.
Add an additional layer of security to your account during login.
Securely sign-in with on-device biometric authentication.
Grant temporary access to your account for support purposes.
Permanently delete the account and remove access from all workspaces.