Questions tagged [requirelogin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

{% 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
vote
1answer
84 views

{% 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'. ...