# How to automatically log out a member when another log in happens?

**URL:** <https://forum.wixstudio.com/t/how-to-automatically-log-out-a-member-when-another-log-in-happens/20217>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [June 1, 2020, 4:27pm UTC](https://forum.wixstudio.com/t/how-to-automatically-log-out-a-member-when-another-log-in-happens/20217 "2020-06-01T16:27:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giriskeneren](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/giriskeneren/32/12226_2.png) [@giriskeneren](https://forum.wixstudio.com/u/giriskeneren)\
**Post date:** [June 1, 2020, 4:27pm UTC](https://forum.wixstudio.com/t/how-to-automatically-log-out-a-member-when-another-log-in-happens/20217/1 "2020-06-01T16:27:28Z")

</div>

I want to prevent different people using same member account. So how can i automatically log out a person if another person logged in to same account?
