Append Portal main logo param (#1515)
This commit is contained in:
parent
8f7875a4a1
commit
e41a241d05
|
@ -47,6 +47,7 @@ sub display {
|
||||||
$self->logger->debug('Display: notification detected');
|
$self->logger->debug('Display: notification detected');
|
||||||
$skinfile = 'notification';
|
$skinfile = 'notification';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
AUTH_ERROR_TYPE => $req->error_type,
|
AUTH_ERROR_TYPE => $req->error_type,
|
||||||
NOTIFICATION => $notif,
|
NOTIFICATION => $notif,
|
||||||
HIDDEN_INPUTS => $self->buildHiddenForm($req),
|
HIDDEN_INPUTS => $self->buildHiddenForm($req),
|
||||||
|
@ -67,6 +68,7 @@ sub display {
|
||||||
$self->logger->debug('Display: confirm detected');
|
$self->logger->debug('Display: confirm detected');
|
||||||
$skinfile = 'confirm';
|
$skinfile = 'confirm';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
AUTH_ERROR => $req->error,
|
AUTH_ERROR => $req->error,
|
||||||
AUTH_ERROR_TYPE => $req->error_type,
|
AUTH_ERROR_TYPE => $req->error_type,
|
||||||
AUTH_URL => $req->{data}->{_url},
|
AUTH_URL => $req->{data}->{_url},
|
||||||
|
@ -95,6 +97,7 @@ sub display {
|
||||||
$self->logger->debug('Display: IDP choice detected');
|
$self->logger->debug('Display: IDP choice detected');
|
||||||
$skinfile = 'idpchoice';
|
$skinfile = 'idpchoice';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
AUTH_ERROR => $req->error,
|
AUTH_ERROR => $req->error,
|
||||||
AUTH_ERROR_TYPE => $req->error_type,
|
AUTH_ERROR_TYPE => $req->error_type,
|
||||||
AUTH_URL => $req->{data}->{_url},
|
AUTH_URL => $req->{data}->{_url},
|
||||||
|
@ -123,6 +126,7 @@ sub display {
|
||||||
$self->logger->debug('Hidden values -> '. Dumper( $req->{portalHiddenFormValues}));
|
$self->logger->debug('Hidden values -> '. Dumper( $req->{portalHiddenFormValues}));
|
||||||
$skinfile = 'info';
|
$skinfile = 'info';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
AUTH_ERROR => $self->error,
|
AUTH_ERROR => $self->error,
|
||||||
AUTH_ERROR_TYPE => $req->error_type,
|
AUTH_ERROR_TYPE => $req->error_type,
|
||||||
MSG => $info,
|
MSG => $info,
|
||||||
|
@ -150,6 +154,7 @@ sub display {
|
||||||
my $id = $req->{sessionInfo}
|
my $id = $req->{sessionInfo}
|
||||||
->{ $self->conf->{openIdAttr} || $self->conf->{whatToTrace} };
|
->{ $self->conf->{openIdAttr} || $self->conf->{whatToTrace} };
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
AUTH_ERROR => $self->error,
|
AUTH_ERROR => $self->error,
|
||||||
AUTH_ERROR_TYPE => $req->error_type,
|
AUTH_ERROR_TYPE => $req->error_type,
|
||||||
PROVIDERURI => $p,
|
PROVIDERURI => $p,
|
||||||
|
@ -206,6 +211,7 @@ sub display {
|
||||||
elsif ( $req->error == PE_RENEWSESSION ) {
|
elsif ( $req->error == PE_RENEWSESSION ) {
|
||||||
$skinfile = 'upgradesession';
|
$skinfile = 'upgradesession';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
MSG => 'askToRenew',
|
MSG => 'askToRenew',
|
||||||
CONFIRMKEY => $self->stamp,
|
CONFIRMKEY => $self->stamp,
|
||||||
PORTAL => $self->conf->{portal},
|
PORTAL => $self->conf->{portal},
|
||||||
|
@ -221,6 +227,7 @@ sub display {
|
||||||
elsif ( $req->error == PE_MUSTAUTHN ) {
|
elsif ( $req->error == PE_MUSTAUTHN ) {
|
||||||
$skinfile = 'updatesession';
|
$skinfile = 'updatesession';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
MSG => 'PE87',
|
MSG => 'PE87',
|
||||||
CONFIRMKEY => $self->stamp,
|
CONFIRMKEY => $self->stamp,
|
||||||
PORTAL => $self->conf->{portal},
|
PORTAL => $self->conf->{portal},
|
||||||
|
@ -243,6 +250,7 @@ sub display {
|
||||||
{
|
{
|
||||||
$skinfile = 'error';
|
$skinfile = 'error';
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
AUTH_ERROR => $req->error,
|
AUTH_ERROR => $req->error,
|
||||||
AUTH_ERROR_TYPE => $req->error_type,
|
AUTH_ERROR_TYPE => $req->error_type,
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user