Changed wrong error message

This commit is contained in:
Mustafa Buyukcelebi 2019-02-13 12:59:44 +03:00
parent ce8e094f78
commit caabda2e48

View File

@ -89,7 +89,7 @@ export const login = async (username, password) => {
await updateCurrentUsername(account.name);
return { ...account, password };
}
return Promise.reject(new Error('auth.invalid_pin'));
return Promise.reject(new Error('auth.invalid_credentials'));
};
export const loginWithSC2 = async (code) => {