aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-15 15:06:54 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-15 15:19:36 -0400
commit8641127da5dd71d4f8fc7acc6ca0b2a34a4ede56 (patch)
treece3fbf32a83bc2f443f020f1d24d9b9c9cd13a96 /phpBB/phpbb/auth
parent6e1c522bdd0e3c67786656a866219c57b7b1e4dc (diff)
downloadforums-8641127da5dd71d4f8fc7acc6ca0b2a34a4ede56.tar
forums-8641127da5dd71d4f8fc7acc6ca0b2a34a4ede56.tar.gz
forums-8641127da5dd71d4f8fc7acc6ca0b2a34a4ede56.tar.bz2
forums-8641127da5dd71d4f8fc7acc6ca0b2a34a4ede56.tar.xz
forums-8641127da5dd71d4f8fc7acc6ca0b2a34a4ede56.zip
[feature/oauth] Correct function call
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/oauth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php
index 3ef6d8c934..9ee689172c 100644
--- a/phpBB/phpbb/auth/provider/oauth/oauth.php
+++ b/phpBB/phpbb/auth/provider/oauth/oauth.php
@@ -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))
{