[Bps-public-commit] r16579 - in RT-Authen-ExternalAuth/trunk: html/Callbacks/ExternalAuth/autohandler

falcone at bestpractical.com falcone at bestpractical.com
Tue Oct 28 15:03:16 EDT 2008


Author: falcone
Date: Tue Oct 28 15:03:16 2008
New Revision: 16579

Modified:
   RT-Authen-ExternalAuth/trunk/   (props changed)
   RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth

Log:
 r41097 at ketch:  falcone | 2008-10-28 14:59:20 -0400
 * handle errors on Create


Modified: RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth
==============================================================================
--- RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth	(original)
+++ RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth	Tue Oct 28 15:03:16 2008
@@ -47,6 +47,10 @@
                                        Name   => $user,
                                        Gecos  => $user,
                                       );
+                    unless ($val) {
+                        $RT::Logger->error( "Couldn't create user $user: $msg" );
+                        return;
+                    }
                     $RT::Logger->info(  "Autocreated authenticated user",
                                         $UserObj->Name,
                                         "(",



More information about the Bps-public-commit mailing list