Minor, pass $request to OAuthLogin controller. See https://secure.phabricator.com/rP4fba549a99f7e9d318012856d0826b10e2bc0845#3c49d03b
Auditors: vrana
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user