fix [[payment_link]]

This commit is contained in:
iBNu Maksum
2024-11-05 10:42:41 +07:00
parent de4c6c730f
commit 35243cb9b0
2 changed files with 5 additions and 5 deletions

View File

@ -177,8 +177,8 @@ class User
{
global $db_pass;
if (isset($uid)) {
list($time, $token) = self::generateToken($uid);
setcookie('uid', $token, time() + 86400 * 30);
$token = self::generateToken($uid);
setcookie('uid', $token['token'], time() + 86400 * 30);
return $token;
} else {
return false;