diff --git a/ui/scripts/events.js b/ui/scripts/events.js index 82550a96bce..948f8817bcd 100644 --- a/ui/scripts/events.js +++ b/ui/scripts/events.js @@ -49,6 +49,9 @@ account: { label: 'label.account' }, + username: { + label: 'label.username' + }, domain: { label: 'label.domain' }, @@ -331,6 +334,15 @@ else return true; } + }, + username: { + label: 'label.username', + isHidden: function(args) { + if (isAdmin() || isDomainAdmin()) + return false; + else + return true; + } } },