ng-idle on my application works fine. But after timeout , I have a pop up that asks for user credentials again. So what is the way to reset ng-idle and start watching again after popup authentication?
Asked
Active
Viewed 1,194 times
2 Answers
0
Once user types his credentials and clicks on submit for example code
<button (click)="submit()" label="submit"></button>
Inside submit() method, You can write idle.watch();
submit() {
idle.watch();
}

Sri
- 437
- 1
- 4
- 13