summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/UserLogin.php
diff options
context:
space:
mode:
authorxue <>2006-02-07 19:05:33 +0000
committerxue <>2006-02-07 19:05:33 +0000
commit60e486b5697030d18311f67de29b95a892c7d95d (patch)
treeb61991b7a3b419d586980ef9a5ad318c1429b4ea /demos/personal/protected/Pages/UserLogin.php
parentee2e653ec9da8cc311989acf6b21b78d32cc80c3 (diff)
Added UrlFormat property to THttpRequest.
Diffstat (limited to 'demos/personal/protected/Pages/UserLogin.php')
-rw-r--r--demos/personal/protected/Pages/UserLogin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/personal/protected/Pages/UserLogin.php b/demos/personal/protected/Pages/UserLogin.php
index ba33f1fa..ce653179 100644
--- a/demos/personal/protected/Pages/UserLogin.php
+++ b/demos/personal/protected/Pages/UserLogin.php
@@ -13,7 +13,7 @@ class UserLogin extends TPage
{
parent::onLoadComplete($param);
if($this->IsPostBack && $this->IsValid)
- $this->Response->redirect($this->Request['ReturnUrl']);
+ $this->Response->redirect($this->Application->getModule('auth')->getReturnUrl());
}
}