Hi good morning to everyone here, I have the following code which always returns me the value 'direccion' on the view, but I would like to retrieve all the values of the vase of data and put it to the meeting, as I can do that, they are thank you in advance.
Controller:
$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');
$select = $authAdapter->getDbSelect();
$select->where('status = "1"');
$auth = Zend_Auth::getInstance();
$result = $auth->authenticate($authAdapter);
View:
if (Zend_Auth::getInstance()->hasIdentity()) {
$username = Zend_Auth::getInstance()->getIdentity();
$profile = 'Welcome, ' . var_dump($username) . ' <a href="/auth/public/user/logout">logout</a>';
} else {