Allow hiding IP addresses

This commit introduces a new feature where users can disable the collection and display of IP addresses. It's hardcoded in the .env config file for security reasons, and demo mode ignores this setting, because it already hides IPs by default.
This commit is contained in:
2021-10-23 07:26:47 +01:00
parent fd6dab0c2b
commit ab037a3474
13 changed files with 91 additions and 34 deletions

View File

@@ -77,6 +77,23 @@ return [
*/
'force_secure' => env('NONPROD_FORCE_SECURE', false),
/*
|--------------------------------------------------------------------------
| IP address anonymity
|--------------------------------------------------------------------------
|
| RB Recruiter collects IP addresses and stores them in the database in order to
| display them to site admins.
|
| This feature allows you to disable the display and collection of IP addresses,
| just like in demo mode, without needing to be in demo mode.
|
| If enabled, demo mode will override this feature if it's set to false.
|
*/
'hide_ips' => env('HIDE_IPS'),
/*
|--------------------------------------------------------------------------
| Application Environment