Display error alert in Login page when error message in URL
cgen-55ea09c6312b4d1b9f7c3b66eb6e6158
This commit is contained in:
parent
2cf564d286
commit
7ed171a608
1 changed files with 7 additions and 0 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue