Index: branches/5.1.x/core/install.php =================================================================== diff -u -N -r14395 -r14512 --- branches/5.1.x/core/install.php (.../install.php) (revision 14395) +++ branches/5.1.x/core/install.php (.../install.php) (revision 14512) @@ -1,6 +1,6 @@ toolkit->saveConfigValues($config_values); + $user_helper =& $this->Application->recallObject('UserHelper'); + /* @var $user_helper UserHelper */ + // login as "root", when no errors on password screen - $this->Application->SetVar('login', 'root'); - $this->Application->SetVar('password', $this->Application->GetVar('root_password')); + $user_helper->loginUser('root', $this->Application->GetVar('root_password')); - $login_event = new kEvent('u.current:OnLogin'); - $this->Application->HandleEvent($login_event); - // import base language for core (english) $this->toolkit->ImportLanguage('/core/install/english');