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.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/demos/controls/protected/pages/LoginPage.php b/demos/controls/protected/pages/LoginPage.php
deleted file mode 100644
index f29ed540..00000000
--- a/demos/controls/protected/pages/LoginPage.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-class LoginPage extends TPage
-{
- public function login($sender,$param)
- {
- $manager=$this->Application->getModule('auth');
- if($manager->login($this->username->Text,$this->password->Text))
- $this->Application->Response->redirect($this->Application->Request->Items['ReturnUrl']);
- else
- $this->error->Text='login failed';
- }
-
- public function defaultClicked($sender,$param)
- {
- $sender->Text="Clicked";
- }
-}
-
-?> \ No newline at end of file