From e4d0d21667aa7215d636583b33141ed8a398c46b Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 18 Aug 2013 12:48:49 -0500 Subject: [PATCH] Don't display session expired --- database.js | 2 +- www/assets/js/callbacks.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database.js b/database.js index 61afafef..c72dd4e5 100644 --- a/database.js +++ b/database.js @@ -832,7 +832,7 @@ Database.prototype.userLoginSession = function (name, session, callback) { } if(res.length == 0) { - callback("Invalid session", null); + callback("Session expired", null); return; } diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index 74bd8aab..a12994e6 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -572,7 +572,7 @@ Callbacks = { login: function(data) { if(!data.success) { - if(data.error != "Invalid session") { + if(data.error != "Session expired") { alert(data.error); } }