Skip to content

Commit cd1e8c9

Browse files
committed
Add SENTRY_SEND_DEFAULT_PII env to default config
1 parent 9344dda commit cd1e8c9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Add support for normalized route names when using Lumen (#449)
66
- Add support for adding the user ID to the user scope when using Laravel Sanctum (#542)
7+
- Allow configuration of the [`send_default_pii`](https://docs.sentry.io/platforms/php/configuration/options/#send-default-pii) SDK option with the `SENTRY_SEND_DEFAULT_PII` env variable
78

89
## 2.11.1
910

config/sentry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
],
4949

5050
// @see: https://docs.sentry.io/platforms/php/configuration/options/#send-default-pii
51-
'send_default_pii' => false,
51+
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),
5252

5353
'traces_sample_rate' => (float)(env('SENTRY_TRACES_SAMPLE_RATE', 0.0)),
5454

0 commit comments

Comments
 (0)