feat: Create login page for admin.
wip: Admin user Configuration
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user