Display error alert in Login page when error message in URL

cgen-55ea09c6312b4d1b9f7c3b66eb6e6158
This commit is contained in:
Builder.io 2025-11-10 00:21:38 +00:00
parent 2cf564d286
commit 7ed171a608

View file

@ -348,6 +348,13 @@ export default function Login() {
</CardHeader>
<CardContent className="space-y-6">
{errorFromUrl ? (
<Alert className="border-red-500/30 bg-red-500/10 text-foreground">
<Info className="h-4 w-4 text-red-400" />
<AlertTitle>Error</AlertTitle>
<AlertDescription>{errorFromUrl}</AlertDescription>
</Alert>
) : null}
{manualVerificationLink ? (
<Alert className="border-aethex-400/30 bg-aethex-500/10 text-foreground">
<Info className="h-4 w-4 text-aethex-300" />