Initial commit: FL-Akademie LMS mit Docker, Admin, Portal und Dokumentation.
Made-with: Cursor
This commit is contained in:
18
app/portal/account/page.tsx
Normal file
18
app/portal/account/page.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user