From eb2136cfcc4d5df973a9b481d77a816952891dca Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 7 Jan 2022 11:29:47 +0100 Subject: [PATCH] Bug 29812: Add missing use C4::Context in Koha::Token Caused by bug 18124. Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi Signed-off-by: Fridolin Somers --- Koha/Token.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Token.pm b/Koha/Token.pm index 3f016be86d..b9fcf7310b 100644 --- a/Koha/Token.pm +++ b/Koha/Token.pm @@ -54,6 +54,7 @@ use String::Random; use WWW::CSRF; use Digest::MD5 qw( md5_base64 ); use Encode; +use C4::Context; use Koha::Exceptions::Token; use base qw(Class::Accessor); use constant HMAC_SHA1_LENGTH => 20; -- 2.39.5