token error code fixed (#3514)
This commit is contained in:
parent
2f13c0adf3
commit
fd9f860fd6
@ -47,7 +47,7 @@ export class AuthHttpApi {
|
||||
return await response.json();
|
||||
}
|
||||
|
||||
if (response.status === 400) {
|
||||
if (response.status === 401) {
|
||||
throw new Error('your email or password was incorrect, please try again');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user