Webserver: Fixed autologut bug with createprofile
This commit is contained in:
1 parent
ee3f524109
commit
15a4e312ed
1 file changed
+5
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user