Módosítások

MediawikiShibAuthWithPersistentID

204 bájt hozzáadva, 2010. május 3., 11:14
ShibAuthPlugin.php
if ($wgVersion >= "1.13") {
if ($wgUser) {
// It does not work properly... The object is that if we have
// session from a logged in user, then the mediawiki does not use
// the database, load only from session
return 'UserLoadAfterLoadFromSession';
} else {
$wgHooks['PersonalUrls'][] = 'ShibActive'; /* Disallow logout link */
$wgAuth = new ShibAuthPlugin();
 
}

Navigációs menü