fix(loginform): error with password reset

This commit is contained in:
2025-10-21 20:29:08 -05:00
parent e99c409cad
commit eae9436f6d

View File

@@ -52,7 +52,7 @@ export default function LoginForm() {
router.history.push(search.redirect ? search.redirect : "/");
} catch (error) {
// @ts-ignore
if (!error.response.success) {
if (error.response.data.success) {
// @ts-ignore
toast.error(error.response.data.message);
} else {