Create profile settings page
Adding a profile settings page so readonly and operator
roles are able to change their own password.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Iee9536255ad47f4df4af8746c1e01da37c407f2b
diff --git a/app/common/directives/app-header.js b/app/common/directives/app-header.js
index 98d210f..df39772 100644
--- a/app/common/directives/app-header.js
+++ b/app/common/directives/app-header.js
@@ -14,6 +14,7 @@
function(
$rootScope, $scope, dataService, userModel, $location, $route) {
$scope.dataService = dataService;
+ $scope.username = '';
try {
// Create a secure websocket with URL as /subscribe
@@ -118,6 +119,7 @@
$scope.loadNetworkInfo();
$scope.loadServerHealth();
$scope.loadSystemName();
+ $scope.username = dataService.getUser();
}
loadData();