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 e7242125e..fa045ef21 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm @@ -39,7 +39,6 @@ sub tests { }, # Check if portal URL is well formated - portalURL => sub { # Checking for ending slash @@ -389,7 +388,10 @@ sub tests { return ( 1, ( - ( $conf->{totp2fDigits} == 6 or $conf->{totp2fDigits} == 8 ) + ( + $conf->{totp2fDigits} == 6 + or $conf->{totp2fDigits} == 8 + ) ? '' : 'TOTP should be 6 or 8 digits long' )