feat(openid-connect): Switch to generic OIDC Client library instead of using Keycloak.js (#273)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2018-09-19 14:50:12 +02:00
1 parent 2f05ed5961
commit 18bcf83805
70 files changed
+572 -655

No files matched your search

@@ -140,7 +140,7 @@ class WindowLevelPresetsManager {
return new Promise((resolve, reject) => {
if (this.storeFunction) {
this.storeFunction.call(this, WL_STORAGE_KEY, wlPresets).then(resolve).catch(reject);
} else if (Meteor.userId()) {
} else if (OHIF.user.userLoggedIn()) {
OHIF.user.setData(WL_STORAGE_KEY, wlPresets).then(resolve).catch(reject);
} else {
Session.setPersistent(WL_STORAGE_KEY, wlPresets);