Since I started using Cloudflare, when I try to access premium content on my website it skips the log-in page giving people access for free.
I have set rules to bypass caching on the login and membership pages (pictured below) but it still skips the login page and gives free access after a day or so.
When I clear the cache it seems to fix the issue but re-occurs a day or so later.
Last week I pointed my name servers back to my host and this fixed the issue, so it must be an issue with Cloudflare.
You’re using APO, which probably doesn’t know about whatever cookie your site uses to track logged in users. Try browsing your site logged in and with your browser’s Dev Tools open (F12 in Chrome). Then take a look at Cookies to see which ones you use. If it’s a popular membership plugin, APO Devs might add that cookie to the exception list.