I fail.
Tomas Doran [Thu, 2 Apr 2009 16:41:44 +0000 (16:41 +0000)]
lib/Catalyst/Authentication/Credential/HTTP.pm

index 96eafe5..dc43280 100644 (file)
@@ -78,14 +78,12 @@ sub authenticate_basic {
             }
             else {
                 $c->log->debug("Password mismatch!") if $c->debug;
+                return;
             }
          }
          else {
              $c->log->debug("Unable to locate user matching user info provided")
                 if $c->debug;
-        }
-        else {
-            $c->log->debug("Unable to locate user matching user info provided") if $c->debug;
             return;
         }
     }