Password Protected page doesn't work
I inserted the shortcode [wpforo] into a password protected page. When I visited this page, the page loaded the forum without asking for the password. I'm attaching a screenshot of my page.php setting. Please let me know how can I resolve this issue.
I recommend use the default page template file without any custom code, just edit the forum page using the Edit Page menu in the top black admin bar and set the forum page as password protected using the standard WordPress option. It's not necessary to write such custom code.
That's my theme default template. And I set the page password the same way as you showed in the screenshot.