Files
FL-Akademie/app/portal/account/page.tsx

19 lines
508 B
TypeScript

import { PasswordChangeForm } from "@/components/password-change-form";
import { requireSession } from "@/lib/session-helpers";
export default async function PortalAccountPage() {
const session = await requireSession();
return (
<div>
<h1 className="page-title">Konto</h1>
<p className="muted subtitle">
Angemeldet als <strong>{session.user.email}</strong>
</p>
<h2 style={{ marginTop: "2rem" }}>Passwort ändern</h2>
<PasswordChangeForm />
</div>
);
}