Seems to be an unwanted side effect indeed, as single signon systems won't function no more, at least they won't be able to get automatically authenticated...
includes\Setup.php should probably 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)); }
Cheers, Peter.
On 8/3/06, Rob Lanphier robla@robla.net wrote:
On Thu, 2006-07-27 at 09:06 +0300, Domas Mituzas wrote:
There're two authentication plugins. One is the AuthPlugin, another, specially crafted for intranets with single signon environments, is utilizing AutoAuthenticate hook.
That hook went away when the StubObject code was added by Tim in r15823. Was that on purpose?
Rob
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l