diff --git a/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php b/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php --- a/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php @@ -14,8 +14,13 @@ return pht('Account Information'); } + public function isEditableByAdministrators() { + return true; + } + public function processRequest(AphrontRequest $request) { - $user = $request->getUser(); + $viewer = $this->getViewer(); + $user = $this->getUser(); $username = $user->getUsername(); $errors = array(); @@ -74,7 +79,7 @@ $form = new AphrontFormView(); $form - ->setUser($user) + ->setUser($viewer) ->appendChild( id(new AphrontFormSelectControl()) ->setOptions($translations)