Merge branch 'master' of github.com:esteemapp/esteem-mobile into feature/profile-edit

This commit is contained in:
Mustafa Buyukcelebi 2019-09-11 12:22:04 +03:00
commit 7560ebc26c

View File

@ -128,7 +128,7 @@ export const loginWithSC2 = async (code, isPinCodeOpen) => {
postingKey: '',
activeKey: '',
memoKey: '',
accessToken: scTokens.access_token,
accessToken: '',
};
if (isPinCodeOpen) {
@ -177,8 +177,10 @@ export const setUserDataWithPinCode = async data => {
get(userData, 'memoKey') ||
get(userData, 'postingKey');
if (publicKey) {
data.password = decryptKey(publicKey, data.pinCode);
}
}
const updatedUserData = getUpdatedUserData(userData, data);