Fix convertUserName() conversion
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Jun 2010 16:13:04 +0000 (10:13 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Jun 2010 16:13:04 +0000 (10:13 -0600)
framework/Auth/lib/Horde/Auth.php

index 57214f4..8adc44a 100644 (file)
@@ -525,7 +525,7 @@ class Horde_Auth
 
         try {
             if (!$is_auth) {
-                $userId = self::convertUserName($userId, true);
+                $userId = $GLOBALS['registry']->convertUserName($userId, true);
             }
             list(,$credentials) = self::runHook($userId, $credentials, $app, 'postauthenticate');
         } catch (Horde_Auth_Exception $e) {