summaryrefslogtreecommitdiff
path: root/framework/Wsat/pages/TWsatLogin.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-11-26 11:34:52 +0100
committerFabio Bas <ctrlaltca@gmail.com>2013-11-26 11:34:52 +0100
commit5632770c86d30361fe0c3eefc7d327786b478702 (patch)
tree0b5f2c00cf4c09719a9b8c076208b592218116bd /framework/Wsat/pages/TWsatLogin.php
parenta6dbcf68802645bbe16b4b927367c42fde127944 (diff)
Removed Wsat, will live in its own branch
Diffstat (limited to 'framework/Wsat/pages/TWsatLogin.php')
-rw-r--r--framework/Wsat/pages/TWsatLogin.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php
deleted file mode 100644
index 69f8cc39..00000000
--- a/framework/Wsat/pages/TWsatLogin.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-/**
- * Description of Inicio
- *
- * @author daniels
- */
-class TWsatLogin extends TPage {
-
- public function login() {
- $config_pass = $this->getService()->getPassword();
- $user_pass = $this->password->Text;
-
- if ($user_pass === $config_pass) {
- $this->Session["wsat_password"] = $config_pass;
-
- $authManager = $this->Application->getModule('auth');
- $url = $authManager->ReturnUrl;
- if (empty($url)) {
- $url = $this->Service->constructUrl('TWsatHome');
- }
- $this->Response->redirect($url);
- } else {
- echo "user or pass wrong";
- }
- }
-
-}
-
-?> \ No newline at end of file