diff --git a/src/applications/auth/controller/PhabricatorAuthRegisterController.php b/src/applications/auth/controller/PhabricatorAuthRegisterController.php index 27d54e4ad6..1d036b13a9 100644 --- a/src/applications/auth/controller/PhabricatorAuthRegisterController.php +++ b/src/applications/auth/controller/PhabricatorAuthRegisterController.php @@ -12,7 +12,7 @@ final class PhabricatorAuthRegisterController $account_key = $request->getURIData('akey'); if ($request->getUser()->isLoggedIn()) { - return $this->renderError(pht('You are already logged in.')); + return id(new AphrontRedirectResponse())->setURI('/'); } $is_setup = false;