Warning about access token fail

This commit is contained in:
dannyrb 2019-05-08 20:14:16 -04:00
parent c0ddf5a6c6
commit 5cd9d8c819

View File

@ -20,6 +20,7 @@ OHIF.user.getAccessToken = () => {
// TODO: Get the Redux store from somewhere else
const state = window.store.getState()
if (!state.oidc || !state.oidc.user) {
console.warn('failed to grab access token')
return
}