mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-20 03:50:20 +00:00
fix: streamline redirect logic for verified OTP response
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m21s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m21s
This commit is contained in:
parent
0b2dcfcc01
commit
322f526069
@ -23,7 +23,7 @@ export default async function VerifyRegistrationOTP({
|
|||||||
console.log("Error in checkIdOrPhone", error);
|
console.log("Error in checkIdOrPhone", error);
|
||||||
return redirect("/auth/signin");
|
return redirect("/auth/signin");
|
||||||
}
|
}
|
||||||
if (response.verified || !response.verified) redirect("/auth/signin");
|
if (response.verified) redirect("/auth/signin");
|
||||||
return (
|
return (
|
||||||
<div className="bg-gray-100 dark:bg-black w-full h-screen flex items-center justify-center font-sans">
|
<div className="bg-gray-100 dark:bg-black w-full h-screen flex items-center justify-center font-sans">
|
||||||
<div className="flex flex-col items-center justify-center w-full h-full ">
|
<div className="flex flex-col items-center justify-center w-full h-full ">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user