diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-09-10 21:31:50 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-10 21:31:50 -0700 |
| commit | 7fddd2aced1821f977323fc75f2954f2b240ae37 (patch) | |
| tree | ff44b50c5badfaa3618b3b3273a54e368c646ea1 /modules/user/controllers/password.php | |
| parent | 3d60e39a7b46e61316780405616a47bf2000eb42 (diff) | |
Use abs_url() inside url::redirect() calls so that we don't just wind
up tacking onto the base url.
Diffstat (limited to 'modules/user/controllers/password.php')
| -rw-r--r-- | modules/user/controllers/password.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/controllers/password.php b/modules/user/controllers/password.php index 8c18916e..92608dcd 100644 --- a/modules/user/controllers/password.php +++ b/modules/user/controllers/password.php @@ -130,7 +130,7 @@ class Password_Controller extends Controller { $user->hash = null; $user->save(); message::success(t("Password reset successfully")); - url::redirect(item::root()->url()); + url::redirect(item::root()->abs_url()); } else { print $view; } |
