From 26af2931afd7532a7b24b04e48f8564b428b929c Mon Sep 17 00:00:00 2001 From: Valentijn Scholten Date: Sat, 21 Mar 2026 18:38:59 +0100 Subject: [PATCH] fix: use bool type for DD_DUPLICATE_CLUSTER_CASCADE_DELETE env var --- dojo/settings/settings.dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/settings/settings.dist.py b/dojo/settings/settings.dist.py index 4bf0fbc651e..c03e5635f87 100644 --- a/dojo/settings/settings.dist.py +++ b/dojo/settings/settings.dist.py @@ -302,7 +302,7 @@ # Initial behaviour in Defect Dojo was to delete all duplicates when an original was deleted # New behaviour is to leave the duplicates in place, but set the oldest of duplicates as new original # Set to True to revert to the old behaviour where all duplicates are deleted - DD_DUPLICATE_CLUSTER_CASCADE_DELETE=(str, False), + DD_DUPLICATE_CLUSTER_CASCADE_DELETE=(bool, False), # Enable Rate Limiting for the login page DD_RATE_LIMITER_ENABLED=(bool, False), # Examples include 5/m 100/h and more https://django-ratelimit.readthedocs.io/en/stable/rates.html#simple-rates