mirror of
https://github.com/colanode/colanode.git
synced 2025-12-16 11:47:47 +01:00
Add back to login button after successful password reset (#188)
This commit is contained in:
@@ -90,15 +90,25 @@ export const EmailPasswordResetComplete = ({
|
|||||||
|
|
||||||
if (showSuccess) {
|
if (showSuccess) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center border border-border rounded-md p-4 gap-3 text-center">
|
<div className="space-y-3">
|
||||||
<CheckCircle className="size-7 text-green-600" />
|
<div className="flex flex-col items-center justify-center border border-border rounded-md p-4 gap-3 text-center">
|
||||||
<p className="text-sm text-muted-foreground">
|
<CheckCircle className="size-7 text-green-600" />
|
||||||
Your password has been reset. You can now login with your new
|
<p className="text-sm text-muted-foreground">
|
||||||
password.
|
Your password has been reset. You can now login with your new
|
||||||
</p>
|
password.
|
||||||
<p className="text-sm font-semibold text-muted-foreground">
|
</p>
|
||||||
You have been logged out of all devices.
|
<p className="text-sm font-semibold text-muted-foreground">
|
||||||
</p>
|
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>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user