mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-06 22:19:41 +03:00
Changed wrong error message
This commit is contained in:
parent
ce8e094f78
commit
caabda2e48
@ -89,7 +89,7 @@ export const login = async (username, password) => {
|
|||||||
await updateCurrentUsername(account.name);
|
await updateCurrentUsername(account.name);
|
||||||
return { ...account, password };
|
return { ...account, password };
|
||||||
}
|
}
|
||||||
return Promise.reject(new Error('auth.invalid_pin'));
|
return Promise.reject(new Error('auth.invalid_credentials'));
|
||||||
};
|
};
|
||||||
|
|
||||||
export const loginWithSC2 = async (code) => {
|
export const loginWithSC2 = async (code) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user