[Koha-patches] [PATCH 05/11] ilsdi service AuthenticatePatron doesn't with CAS syspref on
paul.poulain at biblibre.com
paul.poulain at biblibre.com
Wed Jan 19 21:24:37 CET 2011
From: Henri-Damien LAURENT <henridamien.laurent at biblibre.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent at biblibre.com>
---
C4/Auth.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Auth.pm b/C4/Auth.pm
index 14caf3f..1c046d7 100644
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -1363,7 +1363,7 @@ sub checkpw {
($retval) and return ($retval,$retcard);
}
- if ($cas && $query->param('ticket')) {
+ if ($cas && $query && $query->param('ticket')) {
$debug and print STDERR "## checkpw - checking CAS\n";
# In case of a CAS authentication, we use the ticket instead of the password
my $ticket = $query->param('ticket');
--
1.7.1
More information about the Koha-patches
mailing list