allow login when no cookie is present
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Oct 2006 05:33:47 +0000 (05:33 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Oct 2006 05:33:47 +0000 (05:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6334 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Reporter/Proxy.pm

index 3789198..8c531c1 100644 (file)
@@ -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")