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;