mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
remove unnecessary wrapping from share uniqid() keys
This commit is contained in:
@@ -1891,7 +1891,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
AND owner_uid = " . $owner_uid);
|
||||
|
||||
if ($this->dbh->num_rows($result) == 1) {
|
||||
$key = $this->dbh->escape_string(sha1(uniqid(rand(), true)));
|
||||
$key = $this->dbh->escape_string(uniqid());
|
||||
|
||||
$this->dbh->query("UPDATE ttrss_access_keys SET access_key = '$key'
|
||||
WHERE feed_id = '$feed_id' AND is_cat = $sql_is_cat
|
||||
|
||||
Reference in New Issue
Block a user