mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
Update an old SSH redirect URI when editing a bot's SSH keys
Summary: See PHI79. When you edit another user's SSH keys (normally, for a bot account) we currently redirect you to an older URI. Test Plan: - Viewed a bot's profile page. - Clicked "Edit Settings" on the Manage page. - Went to "SSH Keys". - Uploaded an SSH key. - Before: redirected to a 404 after finishing the workflow. - After: redirected to the same page after the workflow. Reviewers: amckinley Reviewed By: amckinley Differential Revision: https://secure.phabricator.com/D18633
This commit is contained in:
parent
3fbad684c1
commit
5112dac491
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ final class PhabricatorUser
|
|||
return '/settings/panel/ssh/';
|
||||
} else {
|
||||
// Otherwise, take them to the administrative panel for this user.
|
||||
return '/settings/'.$this->getID().'/panel/ssh/';
|
||||
return '/settings/user/'.$this->getUsername().'/page/ssh/';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue