/**
  * Check access by username/password/ip
  */
 function byLoginPassIpAction()
 {
     $code = null;
     $user = $this->getDi()->userTable->getAuthenticatedRow($this->_getParam('login'), $this->_getParam('pass'), $code);
     $res = new Am_Auth_Result($code);
     $this->checkUser($user, $res->getCode(), $res->getMessage(), $this->_getParam('ip'));
 }