Skip to content

Commit

Permalink
Update registration.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lcdservices committed Aug 26, 2015
1 parent 6244b6f commit 2b5f4c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/com_users/models/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public function register($temp)
{
// Set the link to confirm the user email.
$uri = JUri::getInstance();
$base = $uri->toString(array('scheme', 'user', 'pass', 'host', 'port'));
$base = $uri->toString(array('scheme', 'user', 'pass', 'host', 'port'));
$data['activate'] = $base . JRoute::_('index.php?option=com_users&task=registration.activate&token=' . $data['activation'], false);

// Remove administrator/ from activate url in case this method is called from admin
Expand Down Expand Up @@ -458,7 +458,7 @@ public function register($temp)
{
// Set the link to activate the user account.
$uri = JUri::getInstance();
$base = $uri->toString(array('scheme', 'user', 'pass', 'host', 'port'));
$base = $uri->toString(array('scheme', 'user', 'pass', 'host', 'port'));
$data['activate'] = $base . JRoute::_('index.php?option=com_users&task=registration.activate&token=' . $data['activation'], false);

// Remove administrator/ from activate url in case this method is called from admin
Expand Down

0 comments on commit 2b5f4c8

Please sign in to comment.