diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-24 17:14:30 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-24 17:17:31 -0400 |
commit | 27ba57747ab46c0507acc3a87e5b73babda436b1 (patch) | |
tree | be1a33e1dc581c851838e50de482f076e739a70d /phpBB/phpbb/auth/provider/oauth/oauth.php | |
parent | de17d5bdcc1cab495b0b3f2d345fa3ac21f3676c (diff) | |
download | forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar.gz forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar.bz2 forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar.xz forums-27ba57747ab46c0507acc3a87e5b73babda436b1.zip |
[feature/oauth] Clean up TODOs
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/oauth.php')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/oauth.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php index 6d42b06f6a..e1172f2e70 100644 --- a/phpBB/phpbb/auth/provider/oauth/oauth.php +++ b/phpBB/phpbb/auth/provider/oauth/oauth.php @@ -201,8 +201,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base if (!$row) { - // TODO: Update exception type and change it to language constant - throw new Exception('Invalid entry in ' . $this->auth_provider_oauth_token_account_assoc); + throw new Exception('AUTH_PROVIDER_OAUTH_ERROR_INVALID_ENTRY'); } // Update token storage to store the user_id @@ -216,7 +215,6 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base ); } else { $url = $service->getAuthorizationUri(); - // TODO: modify $url for the appropriate return points header('Location: ' . $url); } } |