summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-12 15:09:16 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-12 15:09:16 -0700
commitb61b50604bfffc25a395df3a1aedf84d3c557ff4 (patch)
tree65dc50268414e7b7fa5f20646dd64cae56b1e8ef /modules/gallery/controllers/admin.php
parent63d95087bf0f24d4e880843cd2841906c6f91b38 (diff)
Push the continue url into the form for consistency with other
login/continue code.
Diffstat (limited to 'modules/gallery/controllers/admin.php')
-rw-r--r--modules/gallery/controllers/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin.php b/modules/gallery/controllers/admin.php
index 787a2138..0aeaa876 100644
--- a/modules/gallery/controllers/admin.php
+++ b/modules/gallery/controllers/admin.php
@@ -78,7 +78,7 @@ class Admin_Controller extends Controller {
private static function _prompt_for_reauth($controller_name, $args) {
if (request::method() == "get" && !request::is_ajax()) {
// Avoid anti-phishing protection by passing the url as session variable.
- Session::instance()->set("continue_url", url::current(true));
+ Session::instance()->set("continue_url", url::abs_current(true));
}
url::redirect("reauthenticate");
}