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); } }