How to prevent Login from two places?

Comparing #1 with #2

Revision #2 was created by Rohit Suthar Rohit Suthar on Jul 3, 2014, 9:53:32 AM.

added description

Content

In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.
 
 
In your models (User class)



```php
/**
[...]