Fix ua options (#1925)

environments/ppa-mbqj77/deployments/805
Christophe Maudoux 6 years ago
parent 5ae9e8f271
commit 14d82c4a79
  1. 4
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/AuthBasic.pm
  2. 2
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main/Reload.pm

@ -162,8 +162,8 @@ sub ua {
my ($class) = @_; my ($class) = @_;
return $_ua if ($_ua); return $_ua if ($_ua);
$_ua = Lemonldap::NG::Common::UserAgent->new( { $_ua = Lemonldap::NG::Common::UserAgent->new( {
lwpOpts => $class->localConfig->{lwpOpts}, lwpOpts => $class->tsv->{lwpOpts},
lwpSslOpts => $class->localConfig->{lwpSslOpts} lwpSslOpts => $class->tsv->{lwpSslOpts}
} }
); );

@ -197,7 +197,7 @@ sub defaultValuesInit {
securedCookie timeout timeoutActivity securedCookie timeout timeoutActivity
timeoutActivityInterval useRedirectOnError useRedirectOnForbidden timeoutActivityInterval useRedirectOnError useRedirectOnForbidden
useSafeJail whatToTrace handlerInternalCache useSafeJail whatToTrace handlerInternalCache
handlerServiceTokenTTL customToTrace handlerServiceTokenTTL customToTrace lwpOpts lwpSslOpts
) )
); );

Loading…
Cancel
Save