Questions tagged [requirelogin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Prevent {% requireLogin %} from effecting plugins

We user several plugins that export the current entry via buttons in the Admin CP. One plugin exports the entry as a PDF and another downloads it as HTML along with its assets in a zip. I need to add {...
1 vote
1 answer

{% requireLogin %} not working on extended (layout template) files?

Is there a reason {% requireLogin %} is not firing when using in a parent include? if I place {% requireLogin %} inside the main template file and then use this like so: homework.twig {% extends "...
  • 1,844
1 vote
1 answer

{% requireLogin %} not returning to original page

According to the Craft docs {% requireLogin %} on a page should return the user to the same page after login. This doesn't work for me - the returned page is always the one set in 'postLoginRedirect'. ...
  • 700