mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[feature/oauth] Correct function call
PHPBB3-11673
This commit is contained in:
@@ -121,10 +121,10 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the service credentials for the given service
|
// 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);
|
$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))
|
if ($this->request->is_set('code', phpbb_request_interface::GET))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user