wip: Add logic for e mandate

This commit is contained in:
2025-09-25 11:36:58 +05:30
parent 960624f934
commit 6beed098c2
3 changed files with 246 additions and 68 deletions

View File

@@ -129,6 +129,7 @@ export default function Login() {
message: data?.error || "Internal Server Error",
autoClose: 5000,
});
regenerateCaptcha();
localStorage.removeItem("access_token");
localStorage.clear();
sessionStorage.clear();
@@ -150,6 +151,7 @@ export default function Login() {
}
else {
regenerateCaptcha();
setIsLogging(false);
notifications.show({
withBorder: true,
@@ -218,7 +220,7 @@ export default function Login() {
});
const data = await res.json();
console.log(data)
// console.log(data)
if (!res.ok) {
notifications.show({
color: "red",