You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/06/22 08:29:03 UTC

[cloudstack-primate] branch master updated: store: Get logged in user's info (#440)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 972897d  store: Get logged in user's info (#440)
972897d is described below

commit 972897dd106b3cfbf9ad8d197d4207a69d2f76e9
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Mon Jun 22 13:58:56 2020 +0530

    store: Get logged in user's info (#440)
    
    Co-authored-by: Pearl Dsilva <pe...@shapeblue.com>
---
 src/store/modules/user.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 3a0b054..d4a8a59 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -156,7 +156,7 @@ const user = {
           })
         }
 
-        api('listUsers').then(response => {
+        api('listUsers', { username: Cookies.get('username'), listall: true }).then(response => {
           const result = response.listusersresponse.user[0]
           commit('SET_INFO', result)
           commit('SET_NAME', result.firstname + ' ' + result.lastname)