mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 12:35:56 +00:00
fix sharepopup/subscribe public handler actions in single user mode
This commit is contained in:
@@ -377,6 +377,10 @@ class Handler_Public extends Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sharepopup() {
|
function sharepopup() {
|
||||||
|
if (SINGLE_USER_MODE) {
|
||||||
|
login_sequence($this->link);
|
||||||
|
}
|
||||||
|
|
||||||
header('Content-Type: text/html; charset=utf-8');
|
header('Content-Type: text/html; charset=utf-8');
|
||||||
print "<html>
|
print "<html>
|
||||||
<head>
|
<head>
|
||||||
@@ -542,6 +546,10 @@ class Handler_Public extends Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function subscribe() {
|
function subscribe() {
|
||||||
|
if (SINGLE_USER_MODE) {
|
||||||
|
login_sequence($this->link);
|
||||||
|
}
|
||||||
|
|
||||||
if ($_SESSION["uid"]) {
|
if ($_SESSION["uid"]) {
|
||||||
|
|
||||||
$feed_url = db_escape_string(trim($_REQUEST["feed_url"]));
|
$feed_url = db_escape_string(trim($_REQUEST["feed_url"]));
|
||||||
|
|||||||
Reference in New Issue
Block a user