Add back to login button after successful password reset (#188)

This commit is contained in:
Hakan Shehu
2025-08-11 20:32:20 +02:00
committed by GitHub
parent 7cbbce885d
commit 0a20bc4301

View File

@@ -90,6 +90,7 @@ export const EmailPasswordResetComplete = ({
if (showSuccess) {
return (
<div className="space-y-3">
<div className="flex flex-col items-center justify-center border border-border rounded-md p-4 gap-3 text-center">
<CheckCircle className="size-7 text-green-600" />
<p className="text-sm text-muted-foreground">
@@ -100,6 +101,15 @@ export const EmailPasswordResetComplete = ({
You have been logged out of all devices.
</p>
</div>
<Button
variant="link"
className="w-full text-muted-foreground"
onClick={onBack}
type="button"
>
Back to login
</Button>
</div>
);
}