Index: trunk/extensions/OpenID/OpenID.hooks.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | global $wgOpenIDOnly, $wgOpenIDClientOnly; |
7 | 7 | |
8 | 8 | if ( $wgOpenIDOnly ) { |
9 | | - $list['Userlogin'] = array( 'SpecialRedirectToSpecial', 'Userlogin', 'OpenIDLogin' ); |
| 9 | + $list['Userlogin'] = array( 'SpecialRedirectToSpecial', 'Userlogin', 'OpenIDLogin', false, array('returnto') ); |
10 | 10 | # Used in 1.12.x and above |
11 | 11 | $list['CreateAccount'] = array( 'SpecialRedirectToSpecial', 'CreateAccount', 'OpenIDLogin' ); |
12 | 12 | } |