mirror of https://github.com/calzoneman/sync.git
Don't display session expired
This commit is contained in:
parent
4253d3c84b
commit
e4d0d21667
|
@ -832,7 +832,7 @@ Database.prototype.userLoginSession = function (name, session, callback) {
|
|||
}
|
||||
|
||||
if(res.length == 0) {
|
||||
callback("Invalid session", null);
|
||||
callback("Session expired", null);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -572,7 +572,7 @@ Callbacks = {
|
|||
|
||||
login: function(data) {
|
||||
if(!data.success) {
|
||||
if(data.error != "Invalid session") {
|
||||
if(data.error != "Session expired") {
|
||||
alert(data.error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue