Index: trunk/kernel/include/usersession.php =================================================================== diff -u -r415 -r472 --- trunk/kernel/include/usersession.php (.../usersession.php) (revision 415) +++ trunk/kernel/include/usersession.php (.../usersession.php) (revision 472) @@ -363,7 +363,7 @@ function Login($userLogin, $userPassword) { - global $expired, $objConfig; + global $expired, $objConfig, $FrontEnd; if($userLogin == "root") { @@ -455,7 +455,7 @@ $this->PermCache = array(); $this->Update(); - if($userLogin != 'root') + if($userLogin != 'root' && $FrontEnd) { if( ! $this->HasSystemPermission('LOGIN') ) {