mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +03:00
updated new pin check logic
This commit is contained in:
parent
9e73697842
commit
3983059342
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user