This commit is contained in:
rsgrinko committed 2021-12-22 14:53:11 +03:00
1 parent 1bdfbcab7f
commit 732368e21c
1 file changed
+15
+15
View File
@@ -94,6 +94,21 @@ class CUser {
}
}
/**
* Создание пользовательского токена
*/
/*public static function createUserToken($userId):string {
self::$DB->update(self::$table, array('id' => $result['id']), array('last_active' => time()));
if($result) {
return $result['token'];
} else {
return '';
}
}*/
/**
* Проверка пользователя на онлайн
*