diff --git a/functions.js b/functions.js index 896b6029b..5c0564897 100644 --- a/functions.js +++ b/functions.js @@ -1503,7 +1503,7 @@ function fatalError(code, msg, ext_info) { if (!ext_info) ext_info = "N/A"; if (code == 6) { - window.location.href = "tt-rss.php?login"; + window.location.href = "login.php"; } else if (code == 5) { window.location.href = "update.php"; } else { diff --git a/functions.php b/functions.php index 21355f782..6e386c508 100644 --- a/functions.php +++ b/functions.php @@ -1918,7 +1918,8 @@ } if (!$_SESSION["uid"] || !validate_session($link)) { - render_login_form($link, $mobile); + //render_login_form($link, $mobile); + header("Location: login.php"); exit; } else { /* bump login timestamp */ diff --git a/login.php b/login.php new file mode 100644 index 000000000..71f2e73f3 --- /dev/null +++ b/login.php @@ -0,0 +1,186 @@ + + + +
+