feat: add login failure type
This commit is contained in:
parent
8fde14446d
commit
b59b8ed67d
5
app/types/auth.ts
Normal file
5
app/types/auth.ts
Normal 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;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user