There was an error while loading. Please reload this page.
1 parent 6136ac9 commit ee9b987Copy full SHA for ee9b987
1 file changed
ui/src/store/modules/user.js
@@ -304,6 +304,11 @@ const user = {
304
commit('SET_DARK_MODE', darkMode)
305
commit('SET_LATEST_VERSION', latestVersion)
306
if (hasAuth) {
307
+ if (!Cookies.get('userid')) {
308
+ reject(new Error('Identity session expired'))
309
+ return
310
+ }
311
+
312
console.log('Login detected, using cached APIs')
313
commit('SET_ZONES', cachedZones)
314
commit('SET_SHOW_SECURITY_GROUPS', cachedShowSecurityGroups)
0 commit comments