summaryrefslogtreecommitdiff
path: root/framework/Wsat/pages
diff options
context:
space:
mode:
authorDaniel <darthdaniel85@gmail.com>2013-12-02 12:25:10 -0500
committerDaniel <darthdaniel85@gmail.com>2013-12-02 12:25:10 -0500
commitbc738b910f44ed6998dc2d181fb284f029a9a4d2 (patch)
tree1940c1a2347640c85713a8da3531bacade8f4516 /framework/Wsat/pages
parent22276c273cc158cf12fd7b63e581b08cdae7b6f1 (diff)
Removing unnecessary dependencies!
Diffstat (limited to 'framework/Wsat/pages')
-rw-r--r--framework/Wsat/pages/TWsatLogin.php7
-rw-r--r--framework/Wsat/pages/config.xml6
-rw-r--r--framework/Wsat/pages/layout/TWsatLayout.php4
3 files changed, 7 insertions, 10 deletions
diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php
index 02d5c9fd..7f0927b6 100644
--- a/framework/Wsat/pages/TWsatLogin.php
+++ b/framework/Wsat/pages/TWsatLogin.php
@@ -18,12 +18,7 @@ class TWsatLogin extends TPage
{
$this->Session["wsat_password"] = $this->getService()->getPassword();
- $authManager = $this->Application->getModule('auth');
- $url = $authManager->ReturnUrl;
- if (empty($url))
- {
- $url = $this->Service->constructUrl('TWsatHome');
- }
+ $url = $this->Service->constructUrl('TWsatHome');
$this->Response->redirect($url);
}
}
diff --git a/framework/Wsat/pages/config.xml b/framework/Wsat/pages/config.xml
index 3ed8ea41..727e8eab 100644
--- a/framework/Wsat/pages/config.xml
+++ b/framework/Wsat/pages/config.xml
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<configuration>
+<configuration>
+ <modules>
+ <module id="session" class="THttpSession" CookieMode="Allow" UseCustomStorage="false"
+ AutoStart="true" GCProbability="1" UseTransparentSessionID="true" TimeOut="3600" />
+ </modules>
<pages Theme="PradoSoft" MasterClass="System.Wsat.pages.layout.TWsatLayout" />
</configuration> \ No newline at end of file
diff --git a/framework/Wsat/pages/layout/TWsatLayout.php b/framework/Wsat/pages/layout/TWsatLayout.php
index 4a7c578c..67caa77d 100644
--- a/framework/Wsat/pages/layout/TWsatLayout.php
+++ b/framework/Wsat/pages/layout/TWsatLayout.php
@@ -33,6 +33,4 @@ class TWsatLayout extends TTemplateControl
$this->Response->redirect($url);
}
-}
-
-?> \ No newline at end of file
+} \ No newline at end of file