From b51f46aad1ba1c699fad881543158365ee0a87b5 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Fri, 15 Jun 2007 15:53:09 +0000
Subject: Fixed #627.

---
 framework/Security/TAuthManager.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'framework/Security')

diff --git a/framework/Security/TAuthManager.php b/framework/Security/TAuthManager.php
index e578f0c9..ef9f47f9 100644
--- a/framework/Security/TAuthManager.php
+++ b/framework/Security/TAuthManager.php
@@ -292,7 +292,7 @@ class TAuthManager extends TModule
 			throw new TConfigurationException('authmanager_session_required');
 		else
 		{
-			$this->getUser()->setIsGuest(true);
+			$this->getApplication()->getUser()->setIsGuest(true);
 			$session->destroy();
 		}
 	}
-- 
cgit v1.2.3