Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14020084
D15739.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
592 B
Referenced Files
None
Subscribers
None
D15739.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 11:57 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723804
Default Alt Text
D15739.diff (592 B)
Attached To
Mode
D15739: When a user tries to regsiter while logged in, just send them home
Attached
Detach File
Event Timeline
Log In to Comment