Merge pull request #5903 from cmgustavo/bug/config-lock-02

Fix unlockUntil
This commit is contained in:
Matias Alejo Garcia 2017-04-19 20:03:53 +02:00 committed by GitHub
commit 212ee14581

View file

@ -1206,6 +1206,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
if (onResume) {
var now = Math.floor(Date.now() / 1000);
if (now < openURLService.unlockUntil) {
openURLService.unlockUntil = null;
$log.debug('Skip startup locking');
return;
}