diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-18 12:12:14 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-18 12:12:57 -0400 |
commit | fe9428b7250fce4cee0d601591e3fac117911d2e (patch) | |
tree | bcec72593ec233a698d633381ffda6e7fb719a03 /phpBB/phpbb/auth/provider/oauth/service/bitly.php | |
parent | 469879716d86757c2e583bc746bebaa39cd630ef (diff) | |
download | forums-fe9428b7250fce4cee0d601591e3fac117911d2e.tar forums-fe9428b7250fce4cee0d601591e3fac117911d2e.tar.gz forums-fe9428b7250fce4cee0d601591e3fac117911d2e.tar.bz2 forums-fe9428b7250fce4cee0d601591e3fac117911d2e.tar.xz forums-fe9428b7250fce4cee0d601591e3fac117911d2e.zip |
[feature/oauth] Create means to associate phpBB account with external
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/bitly.php')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/service/bitly.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/bitly.php b/phpBB/phpbb/auth/provider/oauth/service/bitly.php index cbfad3d852..b6b99c0850 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/bitly.php +++ b/phpBB/phpbb/auth/provider/oauth/service/bitly.php @@ -76,6 +76,7 @@ class phpbb_auth_provider_oauth_service_bitly extends phpbb_auth_provider_oauth_ // Send a request with it $result = json_decode( $this->service_provider->request('user/info'), true ); - // Get the user id + // Return the unique identifier returned from bitly + return $result['data']['login']; } } |