[Bps-public-commit] r16316 - RT-Authen-ExternalAuth/lib/RT

falcone at bestpractical.com falcone at bestpractical.com
Fri Oct 17 12:38:05 EDT 2008


Author: falcone
Date: Fri Oct 17 12:38:04 2008
New Revision: 16316

Modified:
   RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm

Log:
* patch for 3.8

Modified: RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
==============================================================================
--- RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm	(original)
+++ RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm	Fri Oct 17 12:38:04 2008
@@ -348,7 +348,7 @@
         return (undef);
     }
 
-    if ( $self->PrincipalObj->Disabled ) {
+    if ( $self->PrincipalObj && $self->PrincipalObj->Disabled ) {
         $RT::Logger->info("Disabled user " . $self->Name . 
                           " tried to log in" );
         return (undef);



More information about the Bps-public-commit mailing list