Looking around for an answer to this (and as mentioned explicitly in another post by @hwillson here Wrestling with Meteor.logoutOtherClients())
Accounts.onLogin doesn't need to be called in your Template; you can call it anywhere. Meteor.logoutOtheClients can only be called client side however.
If Meteor.logoutOtherClients can only be called client side, can’t the client theoretically modify the code and be able to login without logging out other clients?
I have an app where I want to enforce that when User A logs in, if anyone else was using A’s account, it would be logged out immediately upon A logging in.
How can I enforce that server side?