From: miker Date: Mon, 2 Oct 2006 05:33:47 +0000 (+0000) Subject: allow login when no cookie is present X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b936a02d88b9994cd89e7b33d1e5152a51900e41;p=Evergreen.git allow login when no cookie is present git-svn-id: svn://svn.open-ils.org/ILS/trunk@6334 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Reporter/Proxy.pm b/Open-ILS/src/perlmods/OpenILS/Reporter/Proxy.pm index 3789198560..8c531c148b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Reporter/Proxy.pm +++ b/Open-ILS/src/perlmods/OpenILS/Reporter/Proxy.pm @@ -109,7 +109,7 @@ Content-type: text/html # returns the user object if the session is valid, 0 otherwise sub verify_login { my $auth_token = shift; - return 0 unless $auth_token; + return undef unless $auth_token; my $user = OpenSRF::AppSession ->create("open-ils.auth")