From 99dacc117402fd53018e534fc826a57f12cdd1aa 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 (cherry picked from commit ac2befeee9c375ee5632ed3b22f0341fdb7715a5) Signed-off-by: Andrew Fuerste-Henry --- Koha/Token.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Token.pm b/Koha/Token.pm index 9d69e2d07a..7a19bde400 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 qw( encode ); +use C4::Context; use Koha::Exceptions::Token; use base qw(Class::Accessor); use constant HMAC_SHA1_LENGTH => 20; -- 2.39.5