From c78793299f7a001df6aa7ec9e401d82c06fdf00a Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Tue, 10 Jul 2018 23:06:15 +0200 Subject: [PATCH] perltidy --- .../lib/Lemonldap/NG/Manager/Conf/Tests.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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 7f184d82f..c0c41394b 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm @@ -368,7 +368,7 @@ sub tests { $conf->{combination} ); }; return ( 0, $@ ) if ($@); - + # Return return 1; }, @@ -399,7 +399,7 @@ sub tests { "Crypt::U2F::Server::Simple module is required to enable U2F" ) if ($@); } - + # Return return 1; }, @@ -431,11 +431,13 @@ sub tests { ); }, formTimeout => sub { - return ( 0, "XSRF form token TTL must be higher than 10s") unless ( $conf->{formTimeout} > 10 ); - return ( 1, "XSRF form token TTL should not be lower than 20s") unless ( $conf->{formTimeout} > 19 ); - + return ( 0, "XSRF form token TTL must be higher than 10s" ) + unless ( $conf->{formTimeout} > 10 ); + return ( 1, "XSRF form token TTL should not be lower than 20s" ) + unless ( $conf->{formTimeout} > 19 ); + # Return - return 1; + return 1; }, }; }