[Server] Allow multiple sessions with one user
This commit is contained in:
1 parent
51dc4391bd
commit
f4583b830a
4 files changed
+31
-8
No files matched your search
@@ -1412,16 +1412,20 @@
|
||||
};
|
||||
|
||||
this.logout = function () {
|
||||
t.ownProfileId = -1;
|
||||
request({
|
||||
url: "logout"
|
||||
}, "noOverlay").always(function () {
|
||||
t.ownProfileId = -1;
|
||||
|
||||
t.sessionId = "";
|
||||
t.sessionId = "";
|
||||
|
||||
pageHandler.reset();
|
||||
pageHandler.reset();
|
||||
|
||||
if (window.localStorage) {
|
||||
window.localStorage.setItem("VocaluxeSessionKey", "");
|
||||
}
|
||||
$.mobile.changePage("#login", { transition: "slidefade" });
|
||||
if (window.localStorage) {
|
||||
window.localStorage.setItem("VocaluxeSessionKey", "");
|
||||
}
|
||||
$.mobile.changePage("#login", { transition: "slidefade" });
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user