feat: add login failure type

This commit is contained in:
rajun 2026-10-27 16:28:56 +05:30
parent 8fde14446d
commit b59b8ed67d

5
app/types/auth.ts Normal file
View File

@ -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;
}