Hylax: Horde::authenticationFailureRedirect() -> Horde_Auth::authenticateFailure()
authorBen Klang <ben@alkaloid.net>
Fri, 8 Jan 2010 17:42:44 +0000 (12:42 -0500)
committerBen Klang <ben@alkaloid.net>
Fri, 8 Jan 2010 17:42:44 +0000 (12:42 -0500)
hylax/lib/Application.php

index 09931c4..baa1ee0 100644 (file)
@@ -47,7 +47,7 @@ class Hylax_Application extends Horde_Registry_Application
                 $registry->pushApp('hylax', !defined('AUTH_HANDLER'));
             } catch (Horde_Exception $e) {
                 if ($e->getCode() == 'permission_denied') {
-                    Horde::authenticationFailureRedirect();
+                    Horde_Auth::authenticateFailure('hylax', $e);
                 }
                 Horde::fatal($e, __FILE__, __LINE__, false);
             }