Warning about access token fail
This commit is contained in:
parent
c0ddf5a6c6
commit
5cd9d8c819
@ -20,6 +20,7 @@ OHIF.user.getAccessToken = () => {
|
|||||||
// TODO: Get the Redux store from somewhere else
|
// TODO: Get the Redux store from somewhere else
|
||||||
const state = window.store.getState()
|
const state = window.store.getState()
|
||||||
if (!state.oidc || !state.oidc.user) {
|
if (!state.oidc || !state.oidc.user) {
|
||||||
|
console.warn('failed to grab access token')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user