mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34: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());
|
$uri = new Uri(Uri::root());
|
||||||
|
|
||||||
$data->def('authorize_url', (string) $uri->setPath('login/oauth/authorize'));
|
$data->def('authorize_url', (string) $uri->setPath('/login/oauth/authorize'));
|
||||||
$data->def('token_url', (string) $uri->setPath('login/oauth/token'));
|
$data->def('token_url', (string) $uri->setPath('/login/oauth/token'));
|
||||||
$data->def('profile_url', (string) $uri->setPath('login/oauth/profile'));
|
$data->def('profile_url', (string) $uri->setPath('/login/oauth/profile'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->preprocessData('com_oauthserver.client', $data);
|
$this->preprocessData('com_oauthserver.client', $data);
|
||||||
|
Loading…
Reference in New Issue
Block a user