refreshing access token for masterKey login as well

This commit is contained in:
Nouman Tahir 2021-06-29 12:38:59 +05:00
parent f494fa90f8
commit 75a845410a

View File

@ -313,10 +313,8 @@ export const verifyPinCode = async (data) => {
} }
if (result.length > 0) { if (result.length > 0) {
if (get(userData, 'authType', '') === AUTH_TYPE.STEEM_CONNECT) {
await refreshSCToken(userData, get(data, 'pinCode')); await refreshSCToken(userData, get(data, 'pinCode'));
} }
}
return true; return true;
} catch (err) { } catch (err) {
console.warn('Failed to verify pin in auth: ', data, err); console.warn('Failed to verify pin in auth: ', data, err);