From c92e37c1b1b17b8c937ef618a6e856499c23cc80 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 22 Mar 2012 13:43:50 -0700 Subject: [PATCH] Minor, pass $request to OAuthLogin controller. See https://secure.phabricator.com/rP4fba549a99f7e9d318012856d0826b10e2bc0845#3c49d03b Auditors: vrana --- .../auth/controller/oauth/PhabricatorOAuthLoginController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php b/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php index 9f75531586..ddefe1ff0e 100644 --- a/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php +++ b/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php @@ -207,7 +207,9 @@ final class PhabricatorOAuthLoginController } $key = 'controller.oauth-registration'; - $controller = PhabricatorEnv::newObjectFromConfig($key); + $controller = PhabricatorEnv::newObjectFromConfig( + $key, + array($this->getRequest())); $controller->setOAuthProvider($provider); $controller->setOAuthInfo($oauth_info);