From 3ee8e984276ab43136a6af0b83559cac552582b8 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 6 May 2020 15:43:48 -0400 Subject: [PATCH] 5 bytes of progress --- phpbb/rusefi/web/service/utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpbb/rusefi/web/service/utils.php b/phpbb/rusefi/web/service/utils.php index 1e197e5..126c41a 100644 --- a/phpbb/rusefi/web/service/utils.php +++ b/phpbb/rusefi/web/service/utils.php @@ -91,8 +91,8 @@ class utils { $new_token = $this->gen_uuid(); - 'UPDATE ' . $this->tokens_table . " - SET token = '" . $this->db->sql_escape($new_token) . ", + $sql = 'UPDATE ' . $this->tokens_table . " + SET token = '" . $this->db->sql_escape($new_token) . "', created_at = " . time() . " WHERE user_id = '" . $this->db->sql_escape($user_id) . "'";