Exemple #1
0
	protected function doPostProcessActions()
	{
		if (
			$this->isBlockNeeded()
			&& $this->blockCurrentUser()
			&& CSecurityIPRule::IsActive()
		)
		{
			CSecurityIPRule::OnPageStart(true);
		}
	}
Exemple #2
0
 /**
  * @param array $originalPostVars
  */
 protected function doPostProccessActions($originalPostVars = array())
 {
     if ($this->currentUserHaveRightsForSkip() && $this->isNeedShowForm()) {
         $this->showForm($originalPostVars);
     } elseif ($this->isUserBlocked && CSecurityIPRule::IsActive()) {
         CSecurityIPRule::OnPageStart(true);
     }
 }