diff options
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page')
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page b/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page index 6d7967d4..60810807 100644 --- a/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page +++ b/demos/blog-tutorial/protected/pages/Day3/CreateLoginUser.page @@ -92,7 +92,7 @@ class LoginUser extends TPage // obtain the URL of the privileged page that the user wanted to visit originally
$url=$this->Application->getModule('auth')->ReturnUrl;
if(empty($url)) // the user accesses the login page directly
- $url=$this->Service->constructUrl($this->Service->DefaultPage);
+ $url=$this->Service->DefaultPageUrl;
$this->Response->redirect($url);
}
}
|