hsato03 commented on code in PR #8942:
URL: https://github.com/apache/cloudstack/pull/8942#discussion_r1946501216


##########
ui/src/store/modules/user.js:
##########
@@ -231,6 +235,10 @@ const user = {
           commit('SET_LATEST_VERSION', latestVersion)
           notification.destroy()
 
+          await api('listUsers', { userid: result.userid }).then(async 
response => {
+            await 
applyCustomGuiTheme(response.listusersresponse.user[0].accountid, 
result.domainid)
+          })

Review Comment:
   @BryanMLima The `applyCustomGuiTheme` function should be moved to the 
`GetInfo` action as it is blocking users from logging in with 2FA due to an 
unauthorized call to the `listUsers` API.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to