WIP: better lock

This commit is contained in:
Matias Alejo Garcia 2014-08-14 18:46:42 -04:00
commit bcb61810d5
7 changed files with 121 additions and 139 deletions

View file

@ -74,8 +74,8 @@ angular
.html5Mode(false)
.hashPrefix('!');
// IDLE timeout
$idleProvider.idleDuration(15 * 60); // in seconds
$idleProvider.warningDuration(10); // in seconds
$idleProvider.idleDuration(config.wallet.idleDurationMin * 60); // in seconds
$idleProvider.warningDuration(20); // in seconds
})
.run(function($rootScope, $location, $idle) {
$idle.watch();