[Zope-dev] Problems with LoginManager form-based login

Evan Simpson evan@digicool.com
Fri, 26 May 2000 18:14:56 -0400


----- Original Message -----
From: Phillip J. Eby <pje@telecommunity.com>
> >The GUF version, at least, doesn't need this drastic a fix.  Adding the
> >following line to the top of guf_unauthorized should suffice:
> >
> >del request.RESPONSE.unauthorized
> >
>
> You're making the assumption that unauthorized gets called.  If it doesn't
> get called (because the current user *does* exist in a higher-level
> folder), then the hook will never get released.

D'oh!  How 'bout if REQUEST.close() were to always do a
self.__dict__.clear()?

Cheers,

Evan @ digicool & 4-am