[Zope] Re: Re: [Zope] LoginManager dlpierson example
sales.creditscore@xtra.co.nz
sales.creditscore@xtra.co.nz
Wed, 31 Jan 2001 13:48:22 +1200
Thanks Fred,
So you've actually got LoginManager to go with 2.3.0? I tryed adding in the extra request argument and get
Error Type: TypeError
Error Value: not enough arguments; expected 3, got 2
>
> From: Fred Yankowski <fred@ontosys.com>
> Date: 2001/01/30 Tue PM 03:34:44 GMT+12:00
> To: "W. Robert Kellock" <sales@creditscore.co.nz>
> CC: zope@zope.org
> Subject: Re: [Zope] LoginManager dlpierson example
>
> On Wed, Jan 31, 2001 at 09:25:08AM +1300, W. Robert Kellock wrote:
> > Are PythonScript arguments typeless? I keep getting an
> > error
> >
> > Error Type: AttributeError
> > Error Value: 'string' object has no attribute 'password'
> >
> > from the authenticate method which I'm passing self,password.
>
>
> I think you should pass (self, password, request).
>
>
> --
> 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