I'm trying to learn PEAR for an upcoming project and since Auth comes first in the manual I figured I'd start there.
I copied/pasted the tutorial (http://pear.php.net/manual/en/package.authentication.auth.intro.php)
and modified it to fit a database I already had that uses plain text passwords. But I couldn't get it to work. And I did fix the obvious form post/$_GET error. But I couldn't get it to work.
I suspect the problem has to do with Auth requiring encrypted passwords. The manual mentions that the password column has to be able to take 32-bits for the MD5 encryption. But I did some grepping in Auth/Container.php and found that the function verifyPassword allows it to be set to crypt, MD5, or plaintext. I just can't figure out how to set it.
Anyone know how you set the encryption requirements for Auth?
Thanks!