Changes
Title
unchanged
How to prevent Login from two places?
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
login, muti-login, Logging, LoginForm, mutiple login
Content
changed
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
/**[...]