Express Passport - warn and logout if user already logged in on another browser/computer?

434 Views Asked by At

Is it possible to check if a user is already logged in with the same username/email on another browser/computer in Passport.js and return a message that the user is already logged in, preventing multiple logins with the same user at the same time?

Or even check for "allowed" IP/MAC - addresses?

0

There are 0 best solutions below