mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-02 09:48:22 +00:00
feat: implement AuthLayout component and streamline OTP verification forms with enhanced messaging
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m49s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m49s
This commit is contained in:
@ -36,8 +36,7 @@ export default function VerifyRegistrationOTPForm({
|
||||
</p>
|
||||
) : (
|
||||
<p className="bg-sarLinkOrange/50 border border-yellow-900/50 dark:border-sarLinkOrange/50 rounded p-2 text-center text-sm text-gray-900 dark:text-gray-300">
|
||||
Please enter the OTP sent to your mobile number [{phone_number}]
|
||||
to verify and complete your registration.
|
||||
Account verification OTP sent to [{phone_number}]
|
||||
</p>
|
||||
)}
|
||||
|
||||
@ -84,12 +83,14 @@ export default function VerifyRegistrationOTPForm({
|
||||
)}
|
||||
</Button>
|
||||
</div>
|
||||
<div className="mb-4 text-center text-sm">
|
||||
Go back to{" "}
|
||||
<Link href="signin" className="underline">
|
||||
login
|
||||
</Link>
|
||||
</div>
|
||||
{state.status === "verify_success" && (
|
||||
<div className="mb-4 text-center text-sm">
|
||||
Go to{" "}
|
||||
<Link href="signin" className="underline">
|
||||
login
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</form>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user