grav-plugin-login
grav-plugin-login copied to clipboard
'protect_protected_page_media' does not work as intended for modular pages
As mentioned by @Dean-kasail in #45 (comment) the setting 'protect_protected_page_media' is not honored for modular pages.
More specifically only media that is directly located in the root folder of the modular page is protected, but not media, which is located in one of the subfolders:
02.login-protected-page
├── protected.file
└── 01._protected-module
└── not-protected-anymore.file