Thread:Project:Support desk/Login Authentication Issue/reply (4)

ok but in previous ver of mediawiki which i used 1.12 authentication code did in index.php

$user_from = $_SERVER['HTTP_SM_USER'];

$wgTitle = $mediaWiki->checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );

$wgUser=User::newFromName( $user_from ); wfSetupSession; $wgUser->setCookies;

in the above $user_from is user name which get from response of someother application,.