cakephp/cakephp — pull request #1187 by adam1010 (2013-03-19 09:26:04+00:00)
Title: Fixed bug with Friendly forwarding

When a AuthComponent::$loginRedirect is set, the 'Auth.redirect' session variable does not get set to the REFERER even though $loginRedirect is supposed to be a fallback if _no_ REFERER was set