Fix login with temporary password with $wgSecureLogin = true
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 22 Nov 2013 09:32:18 +0000 (10:32 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 22 Nov 2013 14:46:55 +0000 (15:46 +0100)
commitcf97870c220c555b952a2c45f3f1159f5c05e121
tree7023b49c0696de7b2830192c733e1103f009217b
parentb30885e561f19153570c6ccf4a5fcc87d6cfeeff
Fix login with temporary password with $wgSecureLogin = true

The problem is that FauxRequest sets the protocol to http by default,
thus triggering the redirect when executing Special:UserLogin in the
background to log the user in after having reset his password.

DerivativeRequest is now used instead of FauxRequest so that the
protocol is correctly forwarded, and the redirect will not be
triggered.

Bug: 57289
Change-Id: I252351ff7d446283c9d1ab5f79b5cdbce71b76e0
includes/specials/SpecialChangePassword.php