mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[feature/oauth] Clean up TODOs
PHPBB3-11673
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user