5 bytes of progress
This commit is contained in:
parent
9b6ee82a0c
commit
3ee8e98427
|
@ -91,8 +91,8 @@ class utils
|
||||||
{
|
{
|
||||||
$new_token = $this->gen_uuid();
|
$new_token = $this->gen_uuid();
|
||||||
|
|
||||||
'UPDATE ' . $this->tokens_table . "
|
$sql = 'UPDATE ' . $this->tokens_table . "
|
||||||
SET token = '" . $this->db->sql_escape($new_token) . ",
|
SET token = '" . $this->db->sql_escape($new_token) . "',
|
||||||
created_at = " . time() . "
|
created_at = " . time() . "
|
||||||
WHERE user_id = '" . $this->db->sql_escape($user_id) . "'";
|
WHERE user_id = '" . $this->db->sql_escape($user_id) . "'";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue