summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/LoginPage.php
diff options
context:
space:
mode:
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 3b5cc3f9..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->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';
- }
-}
-
-?> \ No newline at end of file