environments/ppa-mbqj77/deployments/627
Christophe Maudoux 7 years ago
parent 49655091a6
commit 399afe013c
  1. 6
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm

@ -260,9 +260,9 @@ sub tests {
},
# Warn if session timeout is lower than 10 minutes
timeoutActivity => sub {
sessionTimeout => sub {
return 1 unless ( defined $conf->{timeout} );
return ( 1, "Session timeout should be higher than ten minutes" )
return ( -1, "Session timeout should be higher than ten minutes" )
unless ( $conf->{timeout} > 600
|| $conf->{timeout} == 0 );
@ -271,7 +271,7 @@ sub tests {
},
# Error if session Activity Timeout is equal or lower than one minute
timeoutActivity => sub {
sessionTimeoutActivity => sub {
return 1 unless ( defined $conf->{timeoutActivity} );
return ( 0,
"Session activity timeout must be higher or equal than one minute"

Loading…
Cancel
Save