This commit is contained in:
Christophe Maudoux 2018-07-09 23:50:51 +02:00
parent 6580f34e46
commit 4305c4adf5

View File

@ -39,7 +39,6 @@ sub tests {
}, },
# Check if portal URL is well formated # Check if portal URL is well formated
portalURL => sub { portalURL => sub {
# Checking for ending slash # Checking for ending slash
@ -389,7 +388,10 @@ sub tests {
return ( return (
1, 1,
( (
( $conf->{totp2fDigits} == 6 or $conf->{totp2fDigits} == 8 ) (
$conf->{totp2fDigits} == 6
or $conf->{totp2fDigits} == 8
)
? '' ? ''
: 'TOTP should be 6 or 8 digits long' : 'TOTP should be 6 or 8 digits long'
) )