]> git.wh0rd.org - tt-rss.git/blobdiff - backend.php
backend/rss: always use secret key to get uid when it is available instead of default...
[tt-rss.git] / backend.php
index 410f89864350e80b3d3d4c9faf0ed91c3069ce00..962453c4be9bb5a0684ea627554b79f8de6d81ef 100644 (file)
                                authenticate_user($link, "admin", null);
                        }
 
-                       if ($key && !$_SESSION["uid"]) {
+                       if ($key) {
                                $result = db_query($link, "SELECT owner_uid FROM
                                        ttrss_access_keys WHERE access_key = '$key' AND feed_id = '$feed'");