From 75631909df7adfd3886d3de8ca7f20fcf02f2702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 4 Mar 2026 10:51:57 -0300 Subject: [PATCH] fix: correct parameter order in resetPassword call --- pages/ResetPassword.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/ResetPassword.tsx b/pages/ResetPassword.tsx index 12effba..70094fd 100644 --- a/pages/ResetPassword.tsx +++ b/pages/ResetPassword.tsx @@ -26,7 +26,7 @@ export const ResetPassword: React.FC = () => { setError(''); try { - await resetPassword(token, password); + await resetPassword(password, token); setIsSuccess(true); setTimeout(() => navigate('/login'), 3000); } catch (err: any) {