Skip to content

Commit 3301ad2

Browse files
committed
minor
1 parent 2bcb4de commit 3301ad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/Application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ qx.Class.define("osparc.Application", {
432432
.then(data => {
433433
if (data.role.toLowerCase() === "guest") {
434434
// Logout a guest trying to access the Dashboard
435-
osparc.auth.Manager.getInstance().logout();
435+
this.logout();
436436
} else {
437437
this.__loadMainPage();
438438
}

services/static-webserver/client/source/class/osparc/data/Resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ qx.Class.define("osparc.data.Resources", {
13451345
if ("status" in err && err.status === 401) {
13461346
// Unauthorized again, the cookie might have expired.
13471347
// We can assume that all calls after this will respond with 401, so bring the user ot the login page.
1348-
qx.core.Init.getApplication().logout(qx.locale.Manager.tr("You were logged out"));
1348+
qx.core.Init.getApplication().logout(qx.locale.Manager.tr("You were logged out. Your cookie might have expired."));
13491349
}
13501350
});
13511351
}

0 commit comments

Comments
 (0)