+ 2

How to disable all components on page, when cookies is false??

When I login to website, and open same in another tab. Close one session, still in another session I am able to access all components. What can be done for this? Is it possible to disable q-page-container ?

6th Apr 2021, 4:05 PM
sadiya zainab
sadiya zainab - avatar
1 Antwort
+ 1
Set a life cycle hook to validate cookie. If the cookie is invalid clear out the session/local storage. use beforeMount/ beforeCreate hooks.
9th Apr 2021, 10:14 AM
Akib
Akib - avatar