From eae9436f6d3aa8424043a426d5bbcc764967b3b6 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Tue, 21 Oct 2025 20:29:08 -0500 Subject: [PATCH] fix(loginform): error with password reset --- frontend/src/routes/(auth)/-components/LoginForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/(auth)/-components/LoginForm.tsx b/frontend/src/routes/(auth)/-components/LoginForm.tsx index 9475dd5..35384c1 100644 --- a/frontend/src/routes/(auth)/-components/LoginForm.tsx +++ b/frontend/src/routes/(auth)/-components/LoginForm.tsx @@ -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 {