[Zope-PTK] Membership problems
Fred Yankowski
fred@ontosys.com
Tue, 10 Oct 2000 09:45:05 -0500
Thank you! I can finally login using the Membership product using
your patch.
How could such a fundamental defect exist in a product like this? Is
no one actually using the Membership product? Is this defect specific
to some particular context?
On Tue, Oct 10, 2000 at 01:14:54PM +0200, Itamar Shtull-Trauring wrote:
> OK, I discovered what the problem is. Compare the following lines (u is a
> user object):
>
> >>> u.propertysheets.SystemProperties.password
> '{CRYPT}R0nzSkU8huehY'
> >>> u.propertysheets.SystemProperties.getProperty('password')
> '{CRYPT}goOLXm9EWBlM2'
>
> u.propertysheets.SystemProperties.password always returns the same string,
> no matter what user or password the user has. getProperty returns the
> correct password. Attached is a patch for the bug.
--
Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312
Principal Consultant www.OntoSys.com fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA