diff --git a/components/com_privacy/controller.php b/components/com_privacy/controller.php index 3818796da0b15..ecf5549b7583f 100644 --- a/components/com_privacy/controller.php +++ b/components/com_privacy/controller.php @@ -33,7 +33,9 @@ public function display($cachable = false, $urlparams = array()) // Submitting information requests through the frontend is restricted to authenticated users at this time if ($view === 'request' && JFactory::getUser()->guest) { - $this->setRedirect(JRoute::_('index.php?option=com_users&view=login', false)); + $this->setRedirect( + JRoute::_('index.php?option=com_users&view=login&return=' . base64_encode('index.php?option=com_privacy&view=request'), false) + ); return $this; }