Elgg/Elgg — pull request #5559 by jeabakker (2013-05-30 11:21:20+00:00)
Title: last_forward_from is lost in a failed login

if a logged out user accesses a page with gatekeeper last_forward_from is set, if however the login fails this is lost. So the next login attempt will not return the user to the correct page.

Also it's harder for plugin authors to influence the landing page on successful login (eg our plugin loing_redirector).

I changed the login action code back to how it was handled in Elgg 1.7