fix: 修复无痕模式下其他组织创建新用户登录没有权限问题

This commit is contained in:
“huailei000”
2022-07-14 14:39:39 +08:00
committed by Jiangjie.Bai
parent 2cd30fc9d8
commit 3544fe5bfa

View File

@@ -60,9 +60,8 @@ const actions = {
document.title = data['INTERFACE']['login_title']
}
const themeColors = data?.INTERFACE?.theme_info?.colors || {}
changeThemeColors(themeColors).then(() => {
commit('SET_PUBLIC_SETTINGS', data)
})
commit('SET_PUBLIC_SETTINGS', data)
changeThemeColors(themeColors)
resolve(response)
}).catch(error => {
reject(error)