summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/UserLogin.php
diff options
context:
space:
mode:
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());
}
}