Open hasan-4 opened 3 years ago
add this code with logout button
localStorage.clear(); // it will clear the browser local storage data only
I would not suggest clearing the whole localStorage. I'm using this project on a subdirectory of my domain, and I also have some very important data stored in localStorage.
It would be better if we clear only those keys which are set by Admin UI.
@fahadpf i agree with you
Replay: @mdawaffe
I would not suggest clearing the whole localStorage. I'm using this project on a subdirectory of my domain, and I also have some very important data stored in localStorage.
It would be better if we clear only those keys which are set by Admin UI.
That's a good idea. @imithu would you have the time to implement it?
sure, i will do it in nuxt
Replay: @darrachequesne That's a good idea. @imithu would you have the time to implement it?
It would be really great if this could be implemented
@Thomas-1985 could you please explain your use case?
I'm not sure about the feature that is requested here. Should we overload the "update" button?
Well there should be a "logout" button that logs you out of the ui. Like @fahadpf mentioned, the code should only clear the set localStorage keys and not clear it out completely (there could be other data stored).
This excellent piece of software is sorely lacking this feature - it would make this product almost PERFECT. Please implement.
add logout feature which will clear the browser local storage \ \ \ Thank you