2009年11月28日星期六

managed to setup the plone login with SQLPASPlugin


This helped me to authenticate crypted password stored in mysql, instead of put them inside ZODB file.
One point to note is the hack of valid function can be changed to the single below:

return reference == crypt.crypt(attempt, reference)

and I also do import crypt at the head of this file encrypt.py, it's for safe :)

没有评论: