add approve status to login page
This commit is contained in:
@@ -148,7 +148,9 @@ const timer = ref(59);
|
||||
code: code.value,
|
||||
},
|
||||
});
|
||||
if (data.status === "Active") {
|
||||
console.log('data', data);
|
||||
|
||||
if (data.status === "Active" || data.status === "Archived") {
|
||||
toast.success("ورود با موفقیت انجام شد")
|
||||
authUser.value = data;
|
||||
location.reload()
|
||||
|
||||
Reference in New Issue
Block a user