diff --git a/Koha/REST/Plugin/Auth/IdP.pm b/Koha/REST/Plugin/Auth/IdP.pm index 501f7b549e..8c3b010f3d 100644 --- a/Koha/REST/Plugin/Auth/IdP.pm +++ b/Koha/REST/Plugin/Auth/IdP.pm @@ -23,9 +23,9 @@ use Mojo::Base 'Mojolicious::Plugin'; use Koha::Exceptions; use Koha::Exceptions::Auth; -use Koha::Patron; +use Koha::Patrons; -use C4::Auth; +use C4::Auth qw(create_basic_session); use CGI;