On 07.08.09 16:26, Peter Bengtsson wrote:
> When you encrypt your passwords in an acl_users User Folder, is there
> a way to check that the old password is correct?
> I'm building an app that allows the user to change her password with
> the usual form of:
>   Old: ________
>   New: ________
>   Confirm: ________
>   
You has the 'old' password using the same algorithm and compare it
against the stored password hash. Look the AccessControl API of Zope.

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to