grbsk / ng-idle

Responding to idle users in AngularJS applications.
http://hackedbychinese.github.io/ng-idle
MIT License
564 stars 195 forks source link

Timeout function executes twice #202

Open alexandroscgb opened 7 years ago

alexandroscgb commented 7 years ago

Hi. I just realized that the $scope.$on('IdleTimeout') event is calling my logout function twice, resulting in error since the second time, obviously, because the user is already logged out.

Any advice?

Thanks.

sakshamg6 commented 6 years ago

Facing the same issue. Have you found any solution? @alexandroscgb