Skip to content

Commit

Permalink
fix Jroute
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-tran-redweb committed Jan 14, 2021
1 parent 5b7048c commit b11fe41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/redshop_login/facebook/facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function onThirdPartyLogin()
$permissions = ['email']; // Optional permissions

$linkLogin = $helper->getLoginUrl(
\Redshop\IO\Route::_(
JRoute::_(
\JUri::root() . 'index.php?option=com_ajax&group=redshop_login&plugin=fbLoginCallBack&format=raw'
),
$permissions
Expand Down
2 changes: 1 addition & 1 deletion plugins/redshop_login/google/google.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getGoogleObject()
{
$client = new Google_Client();

$redirectUri = \Redshop\IO\Route::_(
$redirectUri = JRoute::_(
\JUri::root() . 'index.php?option=com_ajax&group=redshop_login&plugin=googleLoginCallBack&format=raw'
); // URL này được Google chuyển hướng, khi người dùng đồng ý

Expand Down

0 comments on commit b11fe41

Please sign in to comment.