title: TYPO3: felogin on every page
body: <p>I want the user to be able to login on every page so I added the "felogin" login form in my header.</p>
  
  <p>This is the html form that is generated by the felogin extension. I pasted it as it is my header:</p>
  
  <pre><code>&lt;form onsubmit="; return true;" method="post" target="_top" action="/login.html"&gt;
      &lt;input id="user" type="text" value="" placeholder="E-Mail*" name="user"&gt;
      &lt;input id="pass" type="password" data-rsa-encryption="" value="" placeholder="Passwort*" name="pass"&gt;
      &lt;input type="submit" value="Anmelden" name="submit"&gt;
  
      &lt;div class="felogin-hidden"&gt;
          &lt;input type="hidden" value="login" name="logintype"&gt;
          &lt;input type="hidden" value="12" name="pid"&gt;
          &lt;input type="hidden" value="/home.html" name="redirect_url"&gt;
          &lt;input type="hidden" value="0" name="tx_felogin_pi1[noredirect]"&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The login does only work when I am on the login.html page, which is where the felogin plugin is located. If I try to login on any other page, even with correct credentials it will redirect to the login.html page with a flash message saying that there was an error.
  Is there a way to fix this ?</p>