Skip to content

Commit 26af293

Browse files
fix: use bool type for DD_DUPLICATE_CLUSTER_CASCADE_DELETE env var
1 parent b273a5f commit 26af293

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dojo/settings/settings.dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
# Initial behaviour in Defect Dojo was to delete all duplicates when an original was deleted
303303
# New behaviour is to leave the duplicates in place, but set the oldest of duplicates as new original
304304
# Set to True to revert to the old behaviour where all duplicates are deleted
305-
DD_DUPLICATE_CLUSTER_CASCADE_DELETE=(str, False),
305+
DD_DUPLICATE_CLUSTER_CASCADE_DELETE=(bool, False),
306306
# Enable Rate Limiting for the login page
307307
DD_RATE_LIMITER_ENABLED=(bool, False),
308308
# Examples include 5/m 100/h and more https://django-ratelimit.readthedocs.io/en/stable/rates.html#simple-rates

0 commit comments

Comments
 (0)