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