Fix session failure errors when trying to create an account
authorKunal Mehta <legoktm@gmail.com>
Sat, 11 Oct 2014 23:41:51 +0000 (16:41 -0700)
committerReedy <reedy@wikimedia.org>
Sat, 11 Oct 2014 23:44:39 +0000 (23:44 +0000)
commit89df384c025d184bab3ced84afe0a16c37dfa932
tree09fa0f6808e7740ec98822081828bb1d17041619
parent70d3b47b3fb0632da76727138da6b56b69f79df8
Fix session failure errors when trying to create an account

wpCreateaccount was no longer being passed in the POST request,
so the special page thought a login attempt was occurring rather
than an account creation attempt, so it checked against the wrong
token, resulting in session failure errors.

Bug: 71862
Change-Id: I9519cb264be9f587ef4354ba1fd03962a52755a2
includes/templates/Usercreate.php