Index: trunk/core/units/users/users_event_handler.php =================================================================== diff -u -N -r7855 -r8067 --- trunk/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 7855) +++ trunk/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 8067) @@ -109,6 +109,8 @@ function OnSessionExpire() { + $this->Application->resetCounters('UserSession'); + if ($this->Application->IsAdmin()) { $this->Application->Redirect('index', Array('expired' => 1), '', 'index.php'); } @@ -300,6 +302,7 @@ $sync_manager =& $this->Application->recallObjectP('UsersSyncronizeManager', null, Array(), 'InPortalSyncronize'); $sync_manager->performAction('LoginUser', $object->GetDBField('Login'), $password); + $this->Application->resetCounters('UserSession'); } /** @@ -351,6 +354,7 @@ $event->SetRedirectParam('js_redirect', 1); } + $this->Application->resetCounters('UserSession'); $event->SetRedirectParam('pass', 'm'); } @@ -447,7 +451,7 @@ if($user_email) { // check if is subscriber - $verify_user =& $this->Application->recallObject('u.verify', null, Array('skup_autoload' => true) ); + $verify_user =& $this->Application->recallObject('u.verify', null, Array('skip_autoload' => true) ); $verify_user->Load($user_email, 'Email'); if( $verify_user->isLoaded() && $verify_user->isSubscriberOnly() ) {