LoginSignupSpecialPage: Load return and returnto params as early as possible
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Sat, 21 May 2016 23:20:08 +0000 (01:20 +0200)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Sat, 28 May 2016 16:16:00 +0000 (18:16 +0200)
commit3d1e04e976ccb27e22e71ee0cd8ba53ee2d90780
tree6ffc4cf11e4d3806a5d47859c86769c25fc31bdd
parent88754ec791cfe542c223f1fa9c6392740b72e5ea
LoginSignupSpecialPage: Load return and returnto params as early as possible

They're are needed for a redirect to the target page after
a successful login, which is made before the SpecialPage::execute()
function is called. Loading basic request varaibles in the execute()
function is therefore too late to take effect for the redirect after
a successul authentication with a primary provider, which needs to
redirect the user to another site.

Bug: T135924
Change-Id: I6ded7f9bb255cbb332a5810e7ed3cb3ecfdb2c04
includes/specialpage/LoginSignupSpecialPage.php