Make pages blacklist a configurable item

Created on 12 January 2023, about 2 years ago
Updated 16 March 2023, almost 2 years ago

I would like to have the pages blacklist as a config item to make it easy to deploy and or inject via an environment variable.

At this point I am adding it via settings.php

$config['restrict_ip.settings']['page_blacklist'] = [
    '/cron/*',
    '/user/login',
    '/user/password',
  ];

Patch provided for if this is useful to anyone else.

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia au_dave Adelaide

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024