From ce853fc6d8fab9dd087516540ccec66acd966971 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 7 Nov 2017 15:47:21 +0100 Subject: [PATCH] fix accessor names --- 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 49ffda6..72972c3 100755 --- a/lib/IdPAccountManager/WebRequest.pm +++ b/lib/IdPAccountManager/WebRequest.pm @@ -460,7 +460,7 @@ sub req_validate_token { return undef; } - if (! $token->get('sp_entityid') eq $self->{in}->{sp_entityid}) { + if (! $token->sp_entityid() eq $self->{in}->{sp_entityid}) { push @{ $self->{out}->{errors} }, "wrong_token_for_sp"; $self->{logger}->errorf( "Authentication token %s cannot be used for SP with entityid %s", -- GitLab