# How can i prevent use of same member account?

**URL:** <https://forum.wixstudio.com/t/how-can-i-prevent-use-of-same-member-account/20237>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [June 2, 2020, 9:08am UTC](https://forum.wixstudio.com/t/how-can-i-prevent-use-of-same-member-account/20237 "2020-06-02T09:08:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccgccemg](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ccgccemg/32/10076_2.png) [@ccgccemg](https://forum.wixstudio.com/u/ccgccemg)\
**Post date:** [June 2, 2020, 9:08am UTC](https://forum.wixstudio.com/t/how-can-i-prevent-use-of-same-member-account/20237/1 "2020-06-02T09:08:44Z")

</div>

I want to prevent people from using same account but i don’t know how to do. May be site can outomatically log out the member if somebody else log in to the account? Do anyone know how to write a code for this problem?

I am new in here please help me 🙂

---

<div class="post-metadata">

**Author:** ![samuele](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/samuele/32/10102_2.png) [@samuele](https://forum.wixstudio.com/u/samuele)\
**Post date:** [June 4, 2020, 9:18am UTC](https://forum.wixstudio.com/t/how-can-i-prevent-use-of-same-member-account/20237/2 "2020-06-04T09:18:48Z")

</div>

Hello.

Try the solution provide in this forum post:  
[https://www.wix.com/corvid/forum/community-discussion/automatic-member-logout-if-same-member-id-is-used-to-login-on-a-new-device](https://www.wix.com/corvid/forum/community-discussion/automatic-member-logout-if-same-member-id-is-used-to-login-on-a-new-device)

Good luck!
