From 0f6535015963607f60413e2cd4c0851a998cdf0b Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Tue, 14 Nov 2017 16:42:30 +0100
Subject: [PATCH] fix parameter name

---
 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 e5fbf9b..0856f62 100755
--- a/lib/IdPAccountManager/WebRequest.pm
+++ b/lib/IdPAccountManager/WebRequest.pm
@@ -473,7 +473,7 @@ sub req_validate_token {
         );
         next unless $account;
         next unless $account->save(
-            account_validity_period => $self->{configuration}->{account_validity_period}
+            accounts_validity_period => $self->{configuration}->{accounts_validity_period}
         );
         push @accounts, $account;
     }
-- 
GitLab