summaryrefslogtreecommitdiff
path: root/demos/personal/protected/pages/LoginPage.php
diff options
context:
space:
mode:
authorxue <>2005-11-16 18:41:59 +0000
committerxue <>2005-11-16 18:41:59 +0000
commitfdd0a3ad7b2f9f942b94fde84277529ecae2a3b3 (patch)
treefe4126c804bab2a96a85990c218ec4dd7384c59e /demos/personal/protected/pages/LoginPage.php
parente27780e23d0df3e0a08fd3ae4e60fc81a51d42cc (diff)
Diffstat (limited to 'demos/personal/protected/pages/LoginPage.php')
-rw-r--r--demos/personal/protected/pages/LoginPage.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/demos/personal/protected/pages/LoginPage.php b/demos/personal/protected/pages/LoginPage.php
deleted file mode 100644
index 3a3b8432..00000000
--- a/demos/personal/protected/pages/LoginPage.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-class LoginPage extends TPage
-{
- public function login($sender,$param)
- {
- $manager=$this->Application->AuthManager;
- if($manager->login($this->username->Text,$this->password->Text))
- $this->Application->Response->redirect($this->Application->Request->Items['ReturnUrl']);
- else
- $this->error->Text='login failed';
- }
-}
-
-?> \ No newline at end of file