mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-02 03:38:22 +00:00
feat: add getProfile function and integrate user profile retrieval in payment and layout components
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m47s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m47s
This commit is contained in:
@ -198,10 +198,14 @@ export async function VerifyRegistrationOTP(
|
||||
// redirect(`/auth/verify-otp?phone_number=${mobile}`);
|
||||
// }
|
||||
}
|
||||
if (data.message !== "User created successfully.") {
|
||||
return {
|
||||
message: "Your account could not be verified. Please contact support.",
|
||||
status: "verify_error",
|
||||
};
|
||||
}
|
||||
return {
|
||||
message:
|
||||
data.message ||
|
||||
"Your account could not be verified. Please contact support.",
|
||||
status: "verify_error",
|
||||
message: data.message,
|
||||
status: "verify_success",
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user