updated new pin check logic

This commit is contained in:
Nouman Tahir 2022-07-27 14:30:58 +05:00
parent 9e73697842
commit 3983059342

View File

@ -294,7 +294,7 @@ class PinCodeContainer extends Component {
} }
//migrate data to default pin if encUnlockPin is not set. //migrate data to default pin if encUnlockPin is not set.
if (encUnlockPin) { if (!encUnlockPin) {
await MigrationHelpers.migrateUserEncryption(dispatch, currentAccount, applicationPinCode, this._onRefreshTokenFailed); await MigrationHelpers.migrateUserEncryption(dispatch, currentAccount, applicationPinCode, this._onRefreshTokenFailed);
} }