Closed calvh closed 3 years ago
window.addEventListener('storage', this.syncLogout)
//....
syncLogout (event) {
if (event.key === 'logout') {
console.log('logged out from storage!')
Router.push('/login')
}
}
Merged with #27
Logging out in one tab will log out in all tabs