[feature/oauth] Correct function call

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-15 15:06:54 -04:00
parent 6e1c522bdd
commit 8641127da5

View file

@ -121,10 +121,10 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
}
// Get the service credentials for the given service
$service_credentials = $this->services[$service_name]->get_credentials($service_name);
$service_credentials = $this->services[$service_name]->get_credentials();
$storage = new phpbb_auth_provider_oauth_token_storage($this->db, $this->user, $service_name, $this->auth_provider_oauth_table);
$service = $this->get_service($service_name, $storage, $service_credentials, $this->get_scopes($service_name));
$service = $this->get_service($service_name, $storage, $service_credentials, $this->services[$service_name]->get_auth_scope());
if ($this->request->is_set('code', phpbb_request_interface::GET))
{