diff --git a/src/Agl/Core/Auth/Auth.php b/src/Agl/Core/Auth/Auth.php
index <HASH>..<HASH> 100644
--- a/src/Agl/Core/Auth/Auth.php
+++ b/src/Agl/Core/Auth/Auth.php
@@ -70,7 +70,7 @@ class Auth
 		$this->logout();
 		$this->_user = $pUser;
 
-		if ($this->isLogged()) {
+		if ($this->_user->getId()) {
 			$this->_session->setUserId($this->_user->getId());
 			return true;
 		}
A user is not logged in when passing directly an Item to Auth.