-----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.userid'] = form.data['login']
> get_api(request.environ).remember()
> 
> but that doesn't work. Perhaps I've misunderstood IAPI, any suggestions?

You might have found a bug.

- - Is there a traceback you can show us?

- - Are you using a more-or-less "stock" who.ini to configure the
  middleware?

- - Are you sure the middleware is in your WSGI pipeline?


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuaxsMACgkQ+gerLs4ltQ41PgCgr3+ZEgx84hIZqiE+vVWed6f5
ttEAn1rxGJ8nIHCsQtfoQlm0jSplpHwT
=Q674
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to