Código:
$authAdapter = new Zend_Auth_Adapter_DbTable(); $authAdapter ->setTableName('credential') ->setIdentityColumn('email') ->setCredentialColumn('password') ->setIdentityColumn('direccion'); $authAdapter ->setIdentity($form->getValue('email')) ->setCredential($form->getValue('password')) ->setIdentity('San marcos'); $auth = Zend_Auth::getInstance(); $result = $auth->authenticate($authAdapter);