grbsk / ng-idle

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

Customizable local storage key support added. #211

Open nerezo opened 6 years ago

nerezo commented 6 years ago

Hi,

It was necessary to manage storage key of ng-idle from the application for me. I defined two more service method for setting and getting the local storage key.

IdleProvider.setLocalStorageKey('key-postfix') IdleProvider.getLocalStorageKey()

Regards.

yurikilian commented 6 years ago

Hello folks, can you merge this pr? I'm needing this too.