Page MenuHomePhabricator

D15739.id37929.diff
No OneTemporary

D15739.id37929.diff

diff --git a/src/applications/auth/controller/PhabricatorAuthRegisterController.php b/src/applications/auth/controller/PhabricatorAuthRegisterController.php
--- a/src/applications/auth/controller/PhabricatorAuthRegisterController.php
+++ b/src/applications/auth/controller/PhabricatorAuthRegisterController.php
@@ -12,7 +12,7 @@
$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;

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 12:17 AM (5 h, 46 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723804
Default Alt Text
D15739.id37929.diff (592 B)

Event Timeline