diff --git a/plugins/Login/Auth.php b/plugins/Login/Auth.php
index <HASH>..<HASH> 100644
--- a/plugins/Login/Auth.php
+++ b/plugins/Login/Auth.php
@@ -43,7 +43,7 @@ class Piwik_Login_Auth implements Piwik_Auth
 					WHERE token_auth = ?',
 					array($this->token_auth)
 			);
-			if(!$login !== false)
+			if($login !== false)
 			{
 				return new Piwik_Auth_Result(Piwik_Auth_Result::SUCCESS, $login, $this->token_auth );
 			}
refs #<I> - fixes typo; it's too early in the morning for me to think about unit tests...

git-svn-id: <URL>