Index: trunk/phase3/includes/specials/SpecialResetpass.php |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | $data['wpRemember'] = 1; |
53 | 53 | } |
54 | 54 | $login = new LoginForm( new FauxRequest( $data, true ) ); |
55 | | - $login->login(); |
| 55 | + $login->attemptLogin(); |
56 | 56 | } |
57 | 57 | $titleObj = Title::newFromText( $wgRequest->getVal( 'returnto' ) ); |
58 | 58 | if ( !$titleObj instanceof Title ) { |