From d1650ff960f7c500edd17d61d92728c9d19cb1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Deltombe?= Date: Tue, 13 Mar 2012 19:10:09 +0000 Subject: [PATCH] IssuerDBSAML: Forward RelayState with AuthnResponse (LEMONLDAP-394) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm index aa53ed8e8..c96535941 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm @@ -1749,8 +1749,8 @@ sub issuerForAuthUser { } # RelayState - $self->{postFields}->{'RelayState'} = $login->msg_relayState - if ( $login->msg_relayState ); + $self->{postFields}->{'RelayState'} = $relaystate + if ($relaystate); return $self->_subProcess(qw(autoPost)); }