Use:
$auth->setCredentialTreatment('MD5(?)');
The value can be anything that would be valid for the DB. The ? will be
replaced with the submitted password.
mbneto wrote:
Hi,I am trying to use Zend_Auth_Adapter_DbTable to provide authentication but I noticed that it only works if the password is stored in clear text (at least for me).If this is the expected behaviour how do I add such support? Should I extended the Zend_Auth_Adapter_DbTable and give my implementation of the authenticate method?Regards.
-- Jack
