How to validate(or stop) login when user login with one more device with same username and password at same time?

Hi,
I created normal sync function. I have been done simple android project. I executed different android device. then i was login app on same time with same username and password. it was login successfully. but sync gateway should not be allow to login at same time and same username. so how to fix this issue. can anyone help me :frowning: ?

Thank you

Sync Gateway allows multiple logins with the same username. This is pretty common if a user has multiple mobile devices, or a mobile device and a desktop app. There’s no way to disable that functionality.

1 Like