import type { Metadata } from "next"; import { PlateSection } from "@/components/settings-plate"; import { PageTitle } from "@/components/ui"; import { VerifyEmailNotice } from "@/components/verify-email-notice"; import { requireViewer } from "@/lib/auth"; import { MAIL_ENABLED } from "@/lib/mail"; import { PasswordForm, ProfileForm } from "./forms"; export const metadata: Metadata = { title: "Your profile" }; export default async function ProfileSettingsPage() { const viewer = await requireViewer(); return (
{MAIL_ENABLED && !viewer.verified && }

Use a long, unique password.

); }