diff options
Diffstat (limited to 'framework/Wsat/pages')
-rw-r--r-- | framework/Wsat/pages/TWsatLogin.php | 7 | ||||
-rw-r--r-- | framework/Wsat/pages/config.xml | 6 | ||||
-rw-r--r-- | framework/Wsat/pages/layout/TWsatLayout.php | 4 |
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 |