Don't display session expired

This commit is contained in:
calzoneman 2013-08-18 12:48:49 -05:00
parent 4253d3c84b
commit e4d0d21667
2 changed files with 2 additions and 2 deletions

View File

@ -832,7 +832,7 @@ Database.prototype.userLoginSession = function (name, session, callback) {
}
if(res.length == 0) {
callback("Invalid session", null);
callback("Session expired", null);
return;
}

View File

@ -572,7 +572,7 @@ Callbacks = {
login: function(data) {
if(!data.success) {
if(data.error != "Invalid session") {
if(data.error != "Session expired") {
alert(data.error);
}
}