diff --git a/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php b/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php index 56ea38765e..c6a55ce773 100644 --- a/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php +++ b/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php @@ -161,6 +161,11 @@ class AphrontDefaultApplicationConfiguration // Possibly we should add a header here like "you need to login to see // the thing you are trying to look at". $login_controller = new PhabricatorAuthStartController($request); + + $auth_app_class = 'PhabricatorApplicationAuth'; + $auth_app = PhabricatorApplication::getByClass($auth_app_class); + $login_controller->setCurrentApplication($auth_app); + return $login_controller->processRequest(); }