@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.

When a user tries to regsiter while logged in, just send them home

Summary: This error message is pointless and dead-ends logged-in users needlessly if they're sent to the register page by documentation or Advanced Enterprise Sales Funnels.

Test Plan: Visited `/auth/register/` while logged in, was sent home.

Reviewers: chad

Reviewed By: chad

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

+1 -1
+1 -1
src/applications/auth/controller/PhabricatorAuthRegisterController.php
··· 12 12 $account_key = $request->getURIData('akey'); 13 13 14 14 if ($request->getUser()->isLoggedIn()) { 15 - return $this->renderError(pht('You are already logged in.')); 15 + return id(new AphrontRedirectResponse())->setURI('/'); 16 16 } 17 17 18 18 $is_setup = false;