diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm index 9b011e98a..8bd4505bc 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm @@ -729,8 +729,6 @@ sub _dump { sub sendHtml { my ( $self, $req, $template, %args ) = @_; - $self->{templateDir} = - $self->conf->{templateDir} . '/' . $self->getSkin($req); $args{params}->{TROVER} = $self->trOver; my $res = $self->SUPER::sendHtml( $req, $template, %args ); push @{ $res->[1] },