You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "hsato03 (via GitHub)" <gi...@apache.org> on 2025/02/07 13:08:56 UTC

Re: [PR] GUI whitelabel runtime system [cloudstack]

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 authorized 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-unsubscribe@cloudstack.apache.org

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