@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Redirect users back to where they added an SSH Key

Summary: Ref T12964. This feels like a cheat, but works well. Just redirect the user back to the form they came from instead of to the key page.

Test Plan: Add a key to a user profile, add a key to an Alamanac device. Grep for PhabricatorAuthSSHKeyTableView and check all locations.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12964

Differential Revision: https://secure.phabricator.com/D18445

+1 -1
+1 -1
src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
··· 93 93 94 94 try { 95 95 $editor->applyTransactions($key, $xactions); 96 - return id(new AphrontRedirectResponse())->setURI($key->getURI()); 96 + return id(new AphrontRedirectResponse())->setURI($cancel_uri); 97 97 } catch (PhabricatorApplicationTransactionValidationException $ex) { 98 98 $validation_exception = $ex; 99 99 $e_name = $ex->getShortMessage($type_name);