wip: Add logic for e mandate
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user