Page MenuHomePhabricator

D15739.diff
No OneTemporary

D15739.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
Thu, Nov 14, 7:25 PM (4 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723804
Default Alt Text
D15739.diff (592 B)

Event Timeline