From b59b8ed67d7970e64deff3c66a99c021701b0451 Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:56 +0530 Subject: [PATCH] feat: add login failure type --- app/types/auth.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/types/auth.ts diff --git a/app/types/auth.ts b/app/types/auth.ts new file mode 100644 index 0000000..1712529 --- /dev/null +++ b/app/types/auth.ts @@ -0,0 +1,5 @@ +export interface LoginFailure { + error: string; + // Wrong email or password: both fields are marked, without saying which one was wrong + invalidCredentials: boolean; +}