From 89df384c025d184bab3ced84afe0a16c37dfa932 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 11 Oct 2014 16:41:51 -0700 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) 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( -- 2.20.1