Commit 99633cf9 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

cleanup after refactoring (store has a logger now)

parent da8ad0e2
......@@ -130,12 +130,7 @@ const actions = {
})
oidcmgr.events.addAccessTokenExpired(() => {
// at this point where the app is just mounted, we cannot use the
// vue logger, because this.$log does not yet exist. therefore we log
// to the console, but only if the environment is set tu debug log level
if (process.env.VUE_APP_LOGLEVEL === 'debug') {
this.$log.debug("OIDC token has expired. Logging out.")
}
this.$log.debug("OIDC token has expired. Logging out.")
ctx.commit('signOut')
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment