Commit e7c35614 authored by Yadd's avatar Yadd

Some errors (#595)

parent fafb134e
......@@ -156,7 +156,7 @@ sub run {
"Override $_ OIDC param by value present in request parameter"
);
$oidc_request->{$_} = $request->{$_};
$self->p->setHiddenFormValue( $_, $request->{$_}, '' );
$self->p->setHiddenFormValue( $req, $_, $request->{$_}, '' );
}
}
......@@ -790,7 +790,7 @@ qq'<h3 trspan="oidcConsent,$display_name">The application $display_name would li
if ( $oidc_request->{$param} = $req->param($param) ) {
$self->logger->debug( "OIDC request parameter $param: "
. $oidc_request->{$param} );
$self->p->setHiddenFormValue( $param,
$self->p->setHiddenFormValue( $req, $param,
$oidc_request->{$param}, '' );
}
}
......
......@@ -571,7 +571,7 @@ sub setHiddenFormValue {
$base64 = 1 unless defined $base64;
# Store value
if ( defined $val ) {
if ( $val or !($val & ~$val) ) {
$key = $prefix . $key;
$val =~ s/\+/%2B/g;
$req->{portalHiddenFormValues}->{$key} = $val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment