Append show_lang and main_logo parameters & Fix URL typo (#1585)
This commit is contained in:
parent
fbb37060e2
commit
658a7a88c0
|
@ -155,7 +155,7 @@ sub _authAndTrace {
|
|||
}
|
||||
else {
|
||||
my %h = $req->{respHeaders} ? @{ $req->{respHeaders} } : ();
|
||||
my $s = $type->tsv->{portal}->() . "/lmerror/$res";
|
||||
my $s = $type->tsv->{portal}->() . "lmerror/$res";
|
||||
$s =
|
||||
'<html><head><title>Redirection</title></head><body>'
|
||||
. qq{<script type="text/javascript">window.location='$s'</script>}
|
||||
|
|
|
@ -386,7 +386,7 @@ sub goToError {
|
|||
"Redirect $req->{env}->{REMOTE_ADDR} to lmError (url was $url)");
|
||||
$class->set_header_out( $req,
|
||||
'Location' => $class->tsv->{portal}->()
|
||||
. "/lmerror/$code"
|
||||
. "lmerror/$code"
|
||||
. "?url=$urlc_init" );
|
||||
return $class->REDIRECT;
|
||||
}
|
||||
|
|
|
@ -818,6 +818,8 @@ sub lmError {
|
|||
$self->controlUrl($req);
|
||||
|
||||
my %templateParams = (
|
||||
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||
LANGS => $self->conf->{showLanguages},
|
||||
LOGOUT_URL => $self->conf->{portal} . "?logout=1",
|
||||
URL => $req->{urldc},
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user