mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 18:24:50 +03:00
Fix url paths
This commit is contained in:
parent
ec47b0a577
commit
2d34c4eb08
@ -77,9 +77,9 @@ class ClientModel extends AdminModel
|
||||
{
|
||||
$uri = new Uri(Uri::root());
|
||||
|
||||
$data->def('authorize_url', (string) $uri->setPath('login/oauth/authorize'));
|
||||
$data->def('token_url', (string) $uri->setPath('login/oauth/token'));
|
||||
$data->def('profile_url', (string) $uri->setPath('login/oauth/profile'));
|
||||
$data->def('authorize_url', (string) $uri->setPath('/login/oauth/authorize'));
|
||||
$data->def('token_url', (string) $uri->setPath('/login/oauth/token'));
|
||||
$data->def('profile_url', (string) $uri->setPath('/login/oauth/profile'));
|
||||
}
|
||||
|
||||
$this->preprocessData('com_oauthserver.client', $data);
|
||||
|
Loading…
Reference in New Issue
Block a user