iwarner/CodeBlender-Template — Issue #45: Log in Auth Adaptor
Author: iwarner
Created: 2011-11-18 11:41:27+00:00
State: open
Labels: CodeBlender

Elements of this should be in the config.
Such as MD5 / Salt etc

// Instantiate the DbTable auth Adapter and set credentials Make sure status is Active also
$authAdapter = new Zend_Auth_Adapter_DbTable(Zend_Db_Table::getDefaultAdapter());
$authAdapter->setTableName($table)
->setIdentityColumn('email')
->setCredentialColumn('password')
->setCredentialTreatment('MD5(?) AND status = "Active"');