token error code fixed (#3514)

This commit is contained in:
Nikolai Siedov 2019-11-06 17:28:16 +02:00 committed by Yehor Butko
parent 2f13c0adf3
commit fd9f860fd6

View File

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