feat: Create login page for admin.

wip: Admin user Configuration
This commit is contained in:
2025-08-08 14:57:33 +05:30
parent 3ee40cad55
commit b2e84608c3
13 changed files with 945 additions and 18 deletions

View File

@@ -52,6 +52,7 @@ export default function Login() {
message: "Please enter the correct captcha",
autoClose: 5000,
});
regenerateCaptcha();
return;
}
const response = await fetch('api/auth/login', {
@@ -198,7 +199,7 @@ export default function Login() {
<Box style={{ textAlign: "right"}}>
<Anchor
style={{ fontSize: "14px", color: "#1c7ed6", cursor: "pointer" }}
onClick={() => router.push("/validate_user")}
onClick={() => router.push("/ValidateUser")}
>
Forgot Password?
</Anchor>