Skip to content

Commit

Permalink
Fix missing email address on account screen (elastic#22652)
Browse files Browse the repository at this point in the history
This PR fixes elastic#22531, where the current user's email address was not displaying in the UI
  • Loading branch information
legrego committed Sep 4, 2018
1 parent 9f37b1f commit 8ff9499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/security/public/views/account/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ routes.when('/account', {
},

user(ShieldUser) {
return ShieldUser.getCurrent();
return ShieldUser.getCurrent().$promise;
}
},
controllerAs: 'accountController',
Expand Down

0 comments on commit 8ff9499

Please sign in to comment.