mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +01:00
Minor, pass $request to OAuthLogin controller. See https://secure.phabricator.com/rP4fba549a99f7e9d318012856d0826b10e2bc0845#3c49d03b
Auditors: vrana
This commit is contained in:
parent
9682734459
commit
c92e37c1b1
1 changed files with 3 additions and 1 deletions
|
@ -207,7 +207,9 @@ final class PhabricatorOAuthLoginController
|
||||||
}
|
}
|
||||||
|
|
||||||
$key = 'controller.oauth-registration';
|
$key = 'controller.oauth-registration';
|
||||||
$controller = PhabricatorEnv::newObjectFromConfig($key);
|
$controller = PhabricatorEnv::newObjectFromConfig(
|
||||||
|
$key,
|
||||||
|
array($this->getRequest()));
|
||||||
|
|
||||||
$controller->setOAuthProvider($provider);
|
$controller->setOAuthProvider($provider);
|
||||||
$controller->setOAuthInfo($oauth_info);
|
$controller->setOAuthInfo($oauth_info);
|
||||||
|
|
Loading…
Reference in a new issue