title: Redirect user after login to a secure document Joomla
body: <p>I got a space on my website which is secured. You need to be connected to access it. If I click on a link in an email to access a page secured, I got redirect to my login page. I type my user/pass and after my login, I am redirect to my page.</p>
  <p>However, when I do the same thing, but with a pdf document (and not a page), which is secured, Joomla ask me to log in. I enter my information, but I am not redirect to my document (the link clicked previously), I am redirect to my profile page....</p>
  <p>Did someone already solve this problem?</p>
  <p>I am using Joomla 3.8.0</p>