mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 04:18:55 +00:00
[feature/oauth] Correct function call
PHPBB3-11673
This commit is contained in:
parent
6e1c522bdd
commit
8641127da5
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue