Index: units/users/users_tag_processor.php =================================================================== --- units/users/users_tag_processor.php (revision 13919) +++ units/users/users_tag_processor.php (working copy) @@ -98,7 +98,7 @@ function TestCodeIsValid($params) { - $passed_key = trim($this->Application->GetVar('user_key')); + $passed_key = trim($this->Application->GetVar('user_key')); // used for error reporting only -> rewrite code + theme (by Alex) $user_current_object =& $this->Application->recallObject('u', null, Array('skip_autoload' => true)); // TODO: change theme too @@ -327,6 +327,11 @@ $user->SetDBField('PwResetConfirm', ''); $user->SetDBField('PwRequestTime', 0); $user->Update(); + + $user_helper =& $this->Application->recallObject('UserHelper'); + /* @var $user_helper UserHelper */ + + $user_helper->loginUserById( $user->GetID() ); } } \ No newline at end of file