]> git.wh0rd.org - tt-rss.git/blobdiff - backend.php
backend/rss: allow access to feeds without authentication when running in single...
[tt-rss.git] / backend.php
index 9b5203e85328b24bd1e53eb36df5886acd5d5bb0..925f81087bdeab4799658a191110a08f6b5bebe2 100644 (file)
                        $match_on = db_escape_string($_GET["m"]);
                        $search_mode = db_escape_string($_GET["smode"]);
 
+                       if (SINGLE_USER_MODE) {
+                               authenticate_user($link, "admin", null);
+                       }
+
                        if (!$_SESSION["uid"] && $user && $pass) {
                                authenticate_user($link, $user, $pass);
                        }