Skip to content
Snippets Groups Projects
Commit 55bab34d authored by Daniel Sabatino's avatar Daniel Sabatino
Browse files

restoring require login feature redirect

parent 68faa49b
Branches 7.x-1.x
No related tags found
No related merge requests found
......@@ -629,6 +629,11 @@ function ocio_simplesamlphp_auth_init() {
if (strlen($returnTo)) {
$redirect['query']['ReturnTo'] = $base_url . $returnTo;
}
drupal_goto(ltrim($redirect['path'], ''), array(
'query' => isset($redirect['query']) ? $redirect['query'] : array(),
'fragment' => isset($redirect['fragment']) ? $redirect['fragment'] : '',
));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment