summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-01 13:29:25 +0100
committerAndrew Dolgov <[email protected]>2007-03-01 13:29:25 +0100
commit8e849206dd5f049c3b2867bb9f7d9c25aa0ba807 (patch)
tree4651f97c38e182d641e9cf9f460b7dece47bedaf /functions.js
parentd620cfe70afc35bae4f8c2d92798448812701554 (diff)
login system fixes (2)
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 35b1e1319..991c0715d 100644
--- a/functions.js
+++ b/functions.js
@@ -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 {