27 Dec
2004
27 Dec
'04
1:31 p.m.
Am Montag, den 27.12.2004, 14:30 +0100 schrieb Krzysztof Kubacki:
Hi,
Zope 2-7-0 Linux
Is possible to get user's password by getPassword() method using Python Script? Any proxes don't work.
the code below: user = context.getMemberById(context,'koperski') return user.getPassword()
returns: The object is marked as private. Access to 'getPassword' of (MemberData at 0x2353aea0) denied.
Well, you dont want anybody read your password. In fact modern userfolder implementations only save crypted (hashed) password so the function would be of no use anyway. If you want to help users who forgot passwords, offer a function to generate a new password. Regards Tino