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
Oct 17 2024, 10:57 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723804
Default Alt Text
D15739.diff (592 B)

Event Timeline