Add SAMESITE template param (#2605)
This commit is contained in:
parent
a4e15ad9a9
commit
6302c957cc
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
package Lemonldap::NG::Portal::Main::Run;
|
||||
|
||||
our $VERSION = '2.0.14';
|
||||
our $VERSION = '2.0.13';
|
||||
|
||||
package Lemonldap::NG::Portal::Main;
|
||||
|
||||
|
@ -17,10 +17,7 @@ use strict;
|
|||
use URI::Escape;
|
||||
use URI;
|
||||
use JSON;
|
||||
use Lemonldap::NG::Common::Util qw(
|
||||
getPSessionID
|
||||
getSameSite
|
||||
);
|
||||
use Lemonldap::NG::Common::Util qw(getPSessionID getSameSite);
|
||||
|
||||
has trOverCache => ( is => 'rw', default => sub { {} } );
|
||||
|
||||
|
@ -1042,12 +1039,10 @@ sub tplParams {
|
|||
}
|
||||
|
||||
return (
|
||||
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||
LANGS => $self->conf->{showLanguages},
|
||||
SAMESITE => getSameSite(),
|
||||
SKIN => $self->getSkin($req),
|
||||
PORTAL_URL => $self->conf->{portal},
|
||||
SKIN_PATH => $portalPath . "skins",
|
||||
SAMESITE => getSameSite( $self->conf ),
|
||||
SKIN_BG => $self->conf->{portalSkinBackground},
|
||||
CUSTOM_CSS => $self->conf->{portalCustomCss},
|
||||
( $self->customParameters ? ( %{ $self->customParameters } ) : () ),
|
||||
|
|
Loading…
Reference in New Issue
Block a user