From fff13b96babf9e1de1dee20a3f082eba94a6dcbe Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 8 Jun 2026 09:15:28 +0500 Subject: [PATCH] mobile: fix login allowed without entering password field --- apps/mobile/app/components/auth/use-login.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/app/components/auth/use-login.ts b/apps/mobile/app/components/auth/use-login.ts index d873eb2db..1466d36de 100644 --- a/apps/mobile/app/components/auth/use-login.ts +++ b/apps/mobile/app/components/auth/use-login.ts @@ -58,7 +58,7 @@ export const useLogin = ( setLoading(true); switch (step) { case LoginSteps.emailAuth: { - if (formRef.current.validateField("email")) { + if (!formRef.current.validate()) { setLoading(false); return; }