Password protection

Topic summary

A user has enabled password protection on their store and is seeking help locating the redirect code that controls access for non-authenticated visitors.

Their goal: Authorize certain public pages (such as account creation) to remain accessible without password authentication.

What they’ve tried:

  • Briefly searched through theme.liquid and password-modal.js files
  • Unable to locate the redirect code

Current status: The question remains unanswered, with the user requesting advanced assistance to find and modify this functionality.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

Hello everyone,
I have enabled the “Password Protection” setting.
I’m just asking you the location of this piece of code allowing the redirection of people who are not connected in order to authorize certain pages to the public (such as account creation).
I briefly looked through theme.liquid and password-modal.js but couldn’t find the redirect code.
Thanks in advance.