[Zope] Python error: object does not support item or
slice assignment
Dieter Maurer
dieter at handshake.de
Sat Sep 27 04:45:41 EDT 2003
Florian Lindner wrote at 2003-9-27 00:35 +0200:
> Dieter Maurer wrote:
> > Florian Lindner wrote at 2003-9-26 13:46 +0200:
> > > ...
> > Use "REQUEST.set('__ac_name', REQUEST['username'])"
>
> Thanks, the script works now.
> But I still can't login. I'm using exUserFolder and this script to
> login. Username and Password are right, but I'm always redirected to the
> error page.
> But can be wrong?
You may set the "__ac_name" too late to have any effect on
authentication. Usually, authentication has already taken place
when you get control; exception: AccessRules (or other
"__before_publishing_traverse__" and "__bobo_traverse__" hooks).
Dieter
More information about the Zope
mailing list