I am sorry to consult something that may have already been answered elsewhere, but I cannot manage to protect my site with a password while it is under development.
I have read the documentation, put the code indicated in site / settings / system.yaml but it does not work.
title: My Secret Content - protect: - type: password - allowed: - secret - confidential
form_url: / password-entry
I created a new page with the path "/ password-entry" to be able to enter the password, but I only get the message denied access denied.
Please, if there is any guide to help me achieve my goal, I appreciate letting me know where I can consult it.