Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Drop {{ referer }} renders nothing when used in conjunction with {% authorize %} #202

Open
greyskin opened this issue Aug 30, 2021 · 0 comments

Comments

@greyskin
Copy link

Steps to reproduce this issue:

  1. Set up a site with Authorization, e.g. https://github.com/locomotivecms/site-templates/tree/master/auth.
  2. Set up a page with {% authorize 'accounts', 'login' %}.
  3. Set up login.liquid (with handle: login) and include {{ referer }}.
  4. Deploy the site.
  5. Without being authenticated, navigate to the page created in step 2 ({% authorize %} will redirect you to the login page).
  6. Observe that {{ referer }} renders nothing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant