mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-25 23:15:41 +00:00
fix: correct user verification logic in VerifyRegistrationOTP function
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m42s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m42s
This commit is contained in:
parent
886b0b15d0
commit
9c67386d69
@ -198,7 +198,7 @@ export async function VerifyRegistrationOTP(
|
||||
// redirect(`/auth/verify-otp?phone_number=${mobile}`);
|
||||
// }
|
||||
}
|
||||
if (data.message !== "User created successfully.") {
|
||||
if (data.message === "User created successfully.") {
|
||||
return {
|
||||
message: "Your account could not be verified. Please contact support.",
|
||||
status: "verify_error",
|
||||
|
Loading…
x
Reference in New Issue
Block a user