2 devices max logged to the same account

Hello how can I restrict to 2 the number of devices which can logged to the same account.

Read and adapt this [How to] How to prevent multiple logins with Meteor (allowing multiple tabs) by @raphaelarias

If you choose the same type of solution (using fingerprinting) you should just add another fingerprint to the user account.

PS: Be advised that fingerprint isn’t 100% reliable, but it’s best we have on identifying the uniqueness of a browser.

1 Like

Thanks I’m gonna read it and share if I have sthg useful if needed for others (how I adapt it for instance).