5 bytes of progress

This commit is contained in:
rusefi 2020-05-06 15:43:48 -04:00
parent 9b6ee82a0c
commit 3ee8e98427
1 changed files with 2 additions and 2 deletions

View File

@ -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) . "'";