Skip to content
Snippets Groups Projects

Resolve "System should block the login option for defined period of time, when user enter wrong local device PIN more than 3 attempts"

All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -608,7 +608,7 @@ function failPincodeAttempt(password) {
function canTryPincode() {
const timeNow = getCurrentTime();
const blockFinishTime = localStorage.getItem("blockFinishTime") || timeNow;
const blockFinishTime = getBlockFinishTimeInLocalStorage();
if (blockFinishTime <= timeNow) {
localStorage.removeItem("blockFinishTime");
return true;
Loading