summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php6
-rw-r--r--viewfeed.js3
2 files changed, 7 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 925f81087..aa8edb7ba 100644
--- a/backend.php
+++ b/backend.php
@@ -75,7 +75,11 @@
header("Content-Type: application/xml");
print_error_xml(7); exit;
}
-
+
+ if (SINGLE_USER_MODE) {
+ authenticate_user($link, "admin", null);
+ }
+
if (!($_SESSION["uid"] && validate_session($link)) && $op != "globalUpdateFeeds"
&& $op != "rss" && $op != "getUnread" && $op != "publish") {
diff --git a/viewfeed.js b/viewfeed.js
index 69aa21bf1..9515cca6d 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -469,7 +469,8 @@ function view(id, feed_id, skip_history) {
debug("cache check result: " + (cached_article != false));
enableHotkeys();
-
+ hideAuxDlg();
+
//setActiveFeedId(feed_id);
var query = "backend.php?op=view&id=" + param_escape(id) +