[Zope-dev] Subclassing LoginManager

Dan L. Pierson dan@sol.control.com
Tue, 23 May 2000 15:27:07 -0400 (EDT)


Phillip J. Eby writes:
 > At 04:37 PM 5/22/00 -0400, Dan L. Pierson wrote:
 > >Never mind.  I found the bug of mine.
 > 
 > What was it?  I saw your question and this answer at the same time, and now
 > I'm curious.  :)

When I copied the code that canonicalizes user roles and domains from
GenericUserSource, I forgot to add an 'import types'.  Fortunately
the copied code did a good job of catching exceptions and setting the
roles to ['Anonymous'] :-)

Patch follows in next message.