diff options
author | Sem <sembrestels@riseup.net> | 2012-11-29 06:05:46 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-11-29 06:05:46 +0100 |
commit | 3d4e77addab334054c8cfb10e260782b6ef90d0e (patch) | |
tree | ed0e44f2db4cb45fd04ec8c4d41861098d097f8e /lib | |
parent | d29b27d2a02b27118a97475abdd21b8a4dd434d1 (diff) | |
download | elgg-3d4e77addab334054c8cfb10e260782b6ef90d0e.tar.gz elgg-3d4e77addab334054c8cfb10e260782b6ef90d0e.tar.bz2 |
Return to openid consumer page after login in server.
Diffstat (limited to 'lib')
-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);
}
|