We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5417c commit 7a8bbb5Copy full SHA for 7a8bbb5
services/static-webserver/client/source/class/osparc/auth/Manager.js
@@ -117,11 +117,7 @@ qx.Class.define("osparc.auth.Manager", {
117
},
118
119
isLoggedIn: function() {
120
- // TODO: how to store this locally?? See http://www.qooxdoo.org/devel/pages/data_binding/stores.html#offline-store
121
- // TODO: check if expired??
122
- // TODO: request server if token is still valid (e.g. expired, etc)
123
- const auth = osparc.auth.Data.getInstance().getAuth();
124
- return auth !== null && auth instanceof osparc.io.request.authentication.Token;
+ return osparc.auth.Data.getInstance().isLoggedIn();
125
126
127
/*
0 commit comments