From e018077bad0b4f1c65323b177d911fb309569074 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 7 Nov 2017 15:45:40 +0100 Subject: [PATCH] account_profiles is a multivalued directive --- lib/IdPAccountManager/WebRequest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IdPAccountManager/WebRequest.pm b/lib/IdPAccountManager/WebRequest.pm index 2d6ad9d..49ffda6 100755 --- a/lib/IdPAccountManager/WebRequest.pm +++ b/lib/IdPAccountManager/WebRequest.pm @@ -481,7 +481,7 @@ sub req_validate_token { ## create test accounts my @test_accounts; - foreach my $profile ($self->{configuration}->{account_profiles}) { + foreach my $profile (split(/, */, $self->{configuration}->{account_profiles})) { my $test_account = IdPAccountManager::Data::TestAccount->new( db => $self->{db}, account_profile => $profile, -- GitLab