Author: pdd
Description:
The AutoAuthenticate hook is specially crafted for intranets with single signon
environments so that they can automatically authenticate in Mediawiki, however
in revision 15823 the hook has disappeared while applying the Stub Object code.
in includes/Setup.php the code should be changed from:
if( !is_object( $wgAuth ) ) {
$wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
}
to:
if( !is_object( $wgAuth ) ) {
$wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
}
if(! $wgCommandLineMode ) {
wfRunHooks('AutoAuthenticate',array(&$wgUser));
}
Version: 1.8.x
Severity: critical