[Bps-public-commit] r16658 - RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler
zordrak at bestpractical.com
zordrak at bestpractical.com
Tue Nov 4 08:24:28 EST 2008
Author: zordrak
Date: Tue Nov 4 08:24:28 2008
New Revision: 16658
Modified:
RT-Authen-ExternalAuth/trunk/html/Callbacks/ExternalAuth/autohandler/Auth
Log:
Reverting RT::Authen::ExternalAuth Auth callback to 16655 - 3.6 compat broken
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 Nov 4 08:24:28 2008
@@ -52,11 +52,11 @@
if ($password_validated) {
### If there were a standard param to check for whether or not we
### should autocreate authenticated users, we'd check it here.
- my ($val, $msg) = $UserObj->Create(
- %{ ref RT->Config->Get('AutoCreate') ? RT->Config->Get('AutoCreate') : {} },
- Name => $user,
- Gecos => $user,
- );
+ my ($val, $msg) =
+ $UserObj->Create(%{ref($RT::AutoCreate) ? $RT::AutoCreate : {}},
+ Name => $user,
+ Gecos => $user,
+ );
unless ($val) {
$RT::Logger->error( "Couldn't create user $user: $msg" );
return;
More information about the Bps-public-commit
mailing list