Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
deichman
Commits
e279cd49
Commit
e279cd49
authored
Jan 28, 2019
by
Benjamin Rokseth
Browse files
koha: remove some more logging
parent
7dff415c
Changes
2
Hide whitespace changes
Inline
Side-by-side
koha/Deichman/Auth.pm
View file @
e279cd49
...
...
@@ -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
};
}
...
...
koha/svc/checkouts
View file @
e279cd49
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment