Now, in my app, same user can login from multiple devices at same time, i want to prevent user to multi login at same time, means one user can login only once, if same time he tries to login from another devices, he will not able to login and shows him, "You already loged in from another device" or something else.
How to achieve this?
Thanks!