mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 17:54:41 +02:00
fix [[payment_link]]
This commit is contained in:
parent
de4c6c730f
commit
35243cb9b0
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue