Commit e279cd49 authored by Benjamin Rokseth's avatar Benjamin Rokseth
Browse files

koha: remove some more logging

parent 7dff415c
......@@ -119,7 +119,7 @@ sub checkAuthMethods {
try {
$auth = $class->new()->DoAuth($session, $req);
} catch {
$self->{logger}->debug("Session auth failed: ". warn $_->description);
$self->{logger}->debug("Session auth failed: ". $_->description);
};
$auth->{auth} and return $auth->{auth};
}
......
......@@ -47,7 +47,6 @@ my $input = new CGI;
my ( $auth_status, $session ) = check_cookie_auth( $input->cookie("koha.session"));
my $auth = $session->param("auth");
use Data::Dumper; warn Dumper($auth);
my $permissions = $auth->{permissions};
($permissions->{superlibrarian} || $permissions->{circulate} || $permissions->{borrowers}) || exit 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment