1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 20:52:44 +08:00

demo版本不限制多人登录

This commit is contained in:
koogua 2021-03-04 10:26:25 +08:00
parent 2ca092b4e2
commit 4f7a1e9fdd
2 changed files with 0 additions and 4 deletions

View File

@ -24,8 +24,6 @@ class Api extends AuthService
*/
// $this->logoutOtherClients($user->id);
$this->logoutOtherClients($user->id);
$this->createUserToken($user->id, $token, $lifetime);
$cache = $this->getCache();

View File

@ -19,8 +19,6 @@ class Home extends AuthService
$lifetime = $this->getSessionLifetime();
$this->logoutOtherClients($user->id);
/**
* demo版本不限制多人登录
*/