From: Kunal Mehta Date: Sat, 11 Oct 2014 23:41:51 +0000 (-0700) Subject: Fix session failure errors when trying to create an account X-Git-Tag: 1.31.0-rc.0~13630 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=89df384c025d184bab3ced84afe0a16c37dfa932;p=lhc%2Fweb%2Fwiklou.git 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 --- diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index d435615f34..4eea01c3d0 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -258,6 +258,7 @@ class UsercreateTemplate extends BaseTemplate { $this->getMsg( $this->data['loggedin'] ? 'createacct-another-submit' : 'createacct-submit' ), $attrs = array( 'id' => 'wpCreateaccount', + 'name' => 'wpCreateaccount', 'tabindex' => $tabIndex++ ), array(