Webserver: Fixed autologut bug with createprofile

This commit is contained in:
lukeIam committed 2013-12-13 17:56:49 +01:00
1 parent ee3f524109
commit 15a4e312ed
1 file changed
+5
+5
View File
@@ -578,6 +578,11 @@ function logout() {
} }
function checkSession() { function checkSession() {
if (ownProfileId == -1
&& profileIdRequest == -1
&& ($.mobile.activePage.attr("id") == "displayProfile" || $.mobile.activePage.attr("id") == "login")) {
return;
}
request({ request({
url: "getOwnProfileId" url: "getOwnProfileId"
}).done(function (result) { }).done(function (result) {