mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-30 16:29:10 -04:00
Rename g-in-dialog to the naming standard for query parameters and give it something more representative... 'gallery_dialog_request'
This commit is contained in:
@@ -84,9 +84,9 @@ class Admin_Controller extends Controller {
|
||||
private static function _prompt_for_reauth($controller_name, $args) {
|
||||
if (request::method() == "get") {
|
||||
// Avoid anti-phishing protection by passing the url as session variable.
|
||||
$reauthenticate = array("continue_url" => url::abs_current(true),
|
||||
"in_dialog" => strpos(Router::$query_string, "g-in-dialog") !== false,
|
||||
"controller" => $controller_name, "args" => $args);
|
||||
$reauthenticate =
|
||||
array("continue_url" => url::abs_current(true),
|
||||
"in_dialog" => strpos(Router::$query_string, "gallery_dialog_request") !== false);
|
||||
Session::instance()->set("reauthenticate", $reauthenticate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user