summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/LoginPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls/protected/pages/LoginPage.php')
-rw-r--r--demos/controls/protected/pages/LoginPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/controls/protected/pages/LoginPage.php b/demos/controls/protected/pages/LoginPage.php
index 3a3b8432..3b5cc3f9 100644
--- a/demos/controls/protected/pages/LoginPage.php
+++ b/demos/controls/protected/pages/LoginPage.php
@@ -4,7 +4,7 @@ class LoginPage extends TPage
{
public function login($sender,$param)
{
- $manager=$this->Application->AuthManager;
+ $manager=$this->Application->getModule('auth');
if($manager->login($this->username->Text,$this->password->Text))
$this->Application->Response->redirect($this->Application->Request->Items['ReturnUrl']);
else