mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-31 12:10:51 -04:00
Use abs_url() inside url::redirect() calls so that we don't just wind
up tacking onto the base url.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user