WIP: better lock
This commit is contained in:
parent
d8e0d50dce
commit
bcb61810d5
7 changed files with 121 additions and 139 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue