From ac2befeee9c375ee5632ed3b22f0341fdb7715a5 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 Signed-off-by: Kyle M Hall --- Koha/Token.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Token.pm b/Koha/Token.pm index 87dc835e1e..f4334a7223 100644 --- a/Koha/Token.pm +++ b/Koha/Token.pm @@ -55,6 +55,7 @@ use WWW::CSRF; use Mojo::JWT; 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