projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'pianohacker-koha/prefs-submit' into master
[koha.git]
/
svc
/
authentication
diff --git
a/svc/authentication
b/svc/authentication
index
f36d133
..
b9d3047
100755
(executable)
--- a/
svc/authentication
+++ b/
svc/authentication
@@
-19,6
+19,8
@@
#
use strict;
#
use strict;
+use warnings;
+
use CGI;
use C4::Auth qw/check_api_auth/;
use XML::Simple;
use CGI;
use C4::Auth qw/check_api_auth/;
use XML::Simple;
@@
-41,7
+43,7
@@
my $query = new CGI;
# web browser, but instead should be stored and submitted by biblios.
# web browser, but instead should be stored and submitted by biblios.
-my ($status, $cookie, $sessionID) = check_api_auth($query, { editcatalogue =>
1
} );
+my ($status, $cookie, $sessionID) = check_api_auth($query, { editcatalogue =>
'edit_catalogue'
} );
if ($status eq "ok") {
print $query->header(-type => 'text/xml', cookie => $cookie);
if ($status eq "ok") {
print $query->header(-type => 'text/xml', cookie => $cookie);