diff options
-rwxr-xr-x | lib/actions.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/actions.php b/lib/actions.php index 69ae0fb7d..f5f05d952 100755 --- a/lib/actions.php +++ b/lib/actions.php @@ -44,10 +44,9 @@ function action_default() $response =& $request->answer(false, getServerURL());
} else {
if (!getLoggedInUser()) {
- #return login_render();
+ $_SESSION['last_forward_from'] = current_page_url().'?'.http_build_query(Auth_OpenID::getQuery());
system_message(elgg_echo('openid_server:not_logged_in'));
- return gatekeeper();
- #return action_login();
+ forward('login');
}
return trust_render($request);
}
|