From ea1e4def1927327388f38f39a80f02b40a78ebf7 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 7 Nov 2017 15:09:55 +0100 Subject: [PATCH] replace contacts on the fly if needed --- lib/IdPAccountManager/WebRequest.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/IdPAccountManager/WebRequest.pm b/lib/IdPAccountManager/WebRequest.pm index ef1b628..17b4247 100755 --- a/lib/IdPAccountManager/WebRequest.pm +++ b/lib/IdPAccountManager/WebRequest.pm @@ -289,6 +289,13 @@ sub req_select_sp { } } + if ($self->{configuration}->{dev_sp_contact}) { + # replace SP contacts + $provider->contacts( + split(/, */, $self->{configuration}->{dev_sp_contact}) + ); + } + $self->{out}->{provider} = $provider; $self->{out}->{subtitle} = 'Select your Service Provider'; -- GitLab