1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 21:05:56 +00:00

login system fixes (2)

This commit is contained in:
Andrew Dolgov
2007-03-01 13:29:25 +01:00
parent d620cfe70a
commit 8e849206dd
2 changed files with 5 additions and 3 deletions

View File

@@ -56,6 +56,8 @@ function logout_callback() {
var container = document.getElementById('notify');
if (xmlhttp.readyState == 4) {
try {
var date = new Date();
var timestamp = Math.round(date.getTime() / 1000);
window.location.href = "tt-rss.php";
} catch (e) {
exception_error("logout_callback", e);
@@ -1538,7 +1540,7 @@ function fatalError(code, message) {
try {
if (code == 6) {
//window.location.href = "login.php?rt=none";
window.location.href = "tt-rss.php";
} else if (code == 5) {
window.location.href = "update.php";
} else {