Feat : Api integrate on login screen, set login password and set transaction password screen

This commit is contained in:
2025-07-09 16:00:24 +05:30
parent 4b3e89673b
commit 09d61e556c
9 changed files with 437 additions and 637 deletions

4
src/app/captcha.tsx Normal file
View File

@@ -0,0 +1,4 @@
export async function generateCaptcha(length = 6) {
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
return Array.from({ length }, () => chars[Math.floor(Math.random() * chars.length)]).join("");
}