|
|
@@ -3,6 +3,8 @@
|
|
|
import React from "react";
|
|
|
import { useAuth } from "@/components/auth/authContext";
|
|
|
|
|
|
+import ChangePasswordCard from "@/components/profile/ChangePasswordCard";
|
|
|
+
|
|
|
import { Button } from "@/components/ui/button";
|
|
|
import { Input } from "@/components/ui/input";
|
|
|
import { Label } from "@/components/ui/label";
|
|
|
@@ -96,25 +98,7 @@ export default function ProfilePage() {
|
|
|
</CardFooter>
|
|
|
</Card>
|
|
|
|
|
|
- <Card>
|
|
|
- <CardHeader>
|
|
|
- <CardTitle>Passwort</CardTitle>
|
|
|
- <CardDescription>
|
|
|
- Die Passwort-Änderung wird in einem separaten Ticket umgesetzt.
|
|
|
- </CardDescription>
|
|
|
- </CardHeader>
|
|
|
-
|
|
|
- <CardFooter className="flex justify-end">
|
|
|
- <Button
|
|
|
- type="button"
|
|
|
- disabled
|
|
|
- aria-disabled="true"
|
|
|
- title="Kommt später"
|
|
|
- >
|
|
|
- Passwort ändern
|
|
|
- </Button>
|
|
|
- </CardFooter>
|
|
|
- </Card>
|
|
|
+ <ChangePasswordCard />
|
|
|
|
|
|
{!isAuthenticated ? (
|
|
|
<p className="text-xs text-muted-foreground">
|