0👍
Yes, it possible. A client with vue devtool can change the variable isLoggedIn.
I would prefer to use some kind of a list in the backend which contains the logged in admins at the moment. When someone try reaching the admin page send request to the backend to check if this user logged in as admin.
- [Vuejs]-How to populate form from store state data returned from vuex with getters?
- [Vuejs]-How to get the php address bar, if I use Vue?
Source:stackexchange.com