[Bps-public-commit] r20288 - RT-Authen-PAUSE/html/Callbacks/PAUSE/autohandler

trs at bestpractical.com trs at bestpractical.com
Wed Apr 13 18:11:02 EDT 2011


Author: trs
Date: Wed Apr 13 18:11:01 2011
New Revision: 20288

Modified:
   RT-Authen-PAUSE/html/Callbacks/PAUSE/autohandler/Session

Log:
We have an empty CurrentUser in the new callback, so check id

Modified: RT-Authen-PAUSE/html/Callbacks/PAUSE/autohandler/Session
==============================================================================
--- RT-Authen-PAUSE/html/Callbacks/PAUSE/autohandler/Session	(original)
+++ RT-Authen-PAUSE/html/Callbacks/PAUSE/autohandler/Session	Wed Apr 13 18:11:01 2011
@@ -7,7 +7,7 @@
 use HTTP::Request;
 
 # somebody is logged in
-return if $session{'CurrentUser'};
+return if $session{'CurrentUser'} and $session{'CurrentUser'}->Id;
 # no credentials
 return unless defined $user && defined $pass;
 # we don't auth root



More information about the Bps-public-commit mailing list