Finish "onReload" call (#595)

environments/ppa-mbqj77/deployments/1
Xavier Guimard 9 years ago
parent ca84a928db
commit b6f2946c22
  1. 2
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/PSGI/Try.pm
  2. 5
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm

@ -58,6 +58,8 @@ sub _run {
}
else {
# Unset headers (handler adds a Location header)
$self->lmLog( "User not authenticated, cancel redirection",
'debug' );
$req->respHeaders( [] );
$self->routes( $self->unAuthRoutes );
}

@ -35,11 +35,6 @@ sub sessionDatas {
# - launch Lemonldap::NG::Common::PSGI::Request::handler()
sub handler {
my ( $self, $req ) = @_;
unless ($self->conf->{cfgNum}
and $self->conf->{cfgNum} eq HANDLER->lmConf->{cfgNum} )
{
$self->reloadConf();
}
bless $req, 'Lemonldap::NG::Portal::Main::Request';
return $self->Lemonldap::NG::Common::PSGI::Router::handler($req);
}

Loading…
Cancel
Save