grevory / angular-local-storage

An AngularJS module that gives you access to the browsers local storage with cookie fallback
Other
2.83k stars 585 forks source link

Cannot set keys #356

Open alexandroscgb opened 7 years ago

alexandroscgb commented 7 years ago

Hi.

I'm trying to set simple keys during login process but it simply won't do it, an exception is thrown and captured in a catch statement inside the onError function.

localStorageService.set('scope', data.data.scope); Not event

localStorageService.set('scope', 'whatever');

The varible localStorageService is ok, returns the storage type and it says it supports it.

Any ideas? Thanks.