From 8b0bb17a96883c58234cccbce68535864740e043 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sun, 24 May 2020 17:51:28 +0200 Subject: [PATCH] inspect token before getting config --- ffplayout/frontend/store/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ffplayout/frontend/store/config.js b/ffplayout/frontend/store/config.js index 21c28b24..49c44017 100644 --- a/ffplayout/frontend/store/config.js +++ b/ffplayout/frontend/store/config.js @@ -26,6 +26,7 @@ export const mutations = { export const actions = { async nuxtClientInit ({ commit, dispatch, rootState }) { + await dispatch('auth/inspectToken', null, { root: true }) if (rootState.auth.isLogin) { await dispatch('getGuiConfig') await dispatch('getPlayoutConfig')