Re: [Repoze-dev] repoze.who API question

2010-04-09 Thread Iain Duncan
If you do that ( make a convenience method ) maybe one for 'forget' could be done at the same time? I'm loving repoze.who now that I'm finally getting my head around it. Iain On Fri, Mar 12, 2010 at 8:55 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris Grindst

Re: [Repoze-dev] repoze.who API question

2010-03-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Grindstaff wrote: > Hi Tres, > > >>> - Is there a traceback you can show us? > > Nope, there is no exception. > >>> - Are you using a more-or-less "stock" who.ini to configure the >>> middleware? > > Yes - here it is. > > [plugin:form] >

Re: [Repoze-dev] repoze.who API question

2010-03-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > Chris Grindstaff wrote: > >> I'm a new user of repoze.who trying to use the "hybrid" API mentioned in the >> CHANGES.txt. > >> My user has been authenticated so I want to tell repoze.who to remember the >> user. > >> I tried: >>

Re: [Repoze-dev] repoze.who API question

2010-03-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Grindstaff wrote: > I'm a new user of repoze.who trying to use the "hybrid" API mentioned in the > CHANGES.txt. > > My user has been authenticated so I want to tell repoze.who to remember the > user. > > I tried: > request.environ['repoze.who.

[Repoze-dev] repoze.who API question

2010-03-12 Thread Chris Grindstaff
I'm a new user of repoze.who trying to use the "hybrid" API mentioned in the CHANGES.txt. My user has been authenticated so I want to tell repoze.who to remember the user. I tried: request.environ['repoze.who.userid'] = form.data['login'] get_api(request.environ).remember() but that doesn't work