diff --git a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm index 65178e3cb..b5c886cf1 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm @@ -655,7 +655,7 @@ sub tests { return 1; }, -# Warn if persistent storage is disabled with 2FA, History, OIDCConsents and Notifications +# Warn if persistent storage is disabled with 2FA, History, OIDCConsents, Notifications or BruteForce protection persistentStorage => sub { return 1 unless ( $conf->{disablePersistentStorage} ); return ( 1, "2FA enabled WITHOUT persistent session storage" ) @@ -671,6 +671,9 @@ sub tests { return ( 1, "Notifications enabled WITHOUT persistent session storage" ) if ( $conf->{notification} ); + return ( 1, + "BruteForceProtection plugin enabled WITHOUT persistent session storage" ) + if ( $conf->{bruteForceProtection} ); # Return return 1;