Page MenuHomePhabricator

D13136.diff
No OneTemporary

D13136.diff

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)

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 5:28 AM (3 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7722197
Default Alt Text
D13136.diff (889 B)

Event Timeline