diff --git a/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php b/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php index ddefe1ff0e..1fd5c3fd57 100644 --- a/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php +++ b/src/applications/auth/controller/oauth/PhabricatorOAuthLoginController.php @@ -206,9 +206,8 @@ final class PhabricatorOAuthLoginController return id(new AphrontDialogResponse())->setDialog($dialog); } - $key = 'controller.oauth-registration'; $controller = PhabricatorEnv::newObjectFromConfig( - $key, + 'controller.oauth-registration', array($this->getRequest())); $controller->setOAuthProvider($provider);