Horde_Auth::authenticationFailureRedirect -> Horde_Auth::authenticateFailure
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 6 Aug 2009 03:30:34 +0000 (21:30 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 6 Aug 2009 03:30:34 +0000 (21:30 -0600)
framework/Auth/lib/Horde/Auth.php

index 1e2f3ed..e6660e9 100644 (file)
@@ -425,7 +425,8 @@ class Horde_Auth
     }
 
     /**
-     * Redirects to the Horde login page on authentication failure.
+     * Handle authentication failures, redirecting to the login page
+     * when appropriate.
      *
      * @param string $app         The app which failed authentication.
      * @param Horde_Exception $e  An exception thrown by
@@ -433,8 +434,7 @@ class Horde_Auth
      *
      * @throws Horde_Exception
      */
-    static public function authenticationFailureRedirect($app = 'horde',
-                                                         $e = null)
+    static public function authenticateFailure($app = 'horde', $e = null)
     {
         if (Horde_Cli::runningFromCLI()) {
             $cli = Horde_Cli::singleton();