[Repoze-dev] Combining registration with login...

2009-05-22 Thread Douglas Mayle
Hey everybody,
I'm using repoze.who for authentication, and I've got the major part  
of it setup.  Login works, as does logout.  I just finished writing  
user registration, and was wondering if there was a way that I could  
automatically log the user in on successful signup?  I'm currently  
using the redirectingform plugin and the sql authenticator.  Will I  
have to write my own custom plugin, or is there something I can do out  
of the box?

Thanks,
Douglas Mayle
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] Combining registration with login...

2009-05-22 Thread Gustavo Narea
Hi, Douglas.

Unfortunately it's not well supported. Here you'd find how to do it for the 
time being:
http://bugs.repoze.org/issue58

Cheers.

  - Gustavo.

Douglas said:
 Hey everybody,
   I'm using repoze.who for authentication, and I've got the major part
 of it setup.  Login works, as does logout.  I just finished writing
 user registration, and was wondering if there was a way that I could
 automatically log the user in on successful signup?  I'm currently
 using the redirectingform plugin and the sql authenticator.  Will I
 have to write my own custom plugin, or is there something I can do out
 of the box?

 Thanks,
 Douglas Mayle
 ___
 Repoze-dev mailing list
 Repoze-dev@lists.repoze.org
 http://lists.repoze.org/listinfo/repoze-dev
-- 
Gustavo Narea xri://=Gustavo.
| Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] Combining registration with login...

2009-05-22 Thread Douglas Mayle
Thanks, that worked a treat!  I've got comments in my code pointing to  
the issue.  Hopefully it will be fixed for the next release...

Doug

On May 22, 2009, at 3:54 PM, Gustavo Narea wrote:

 Hi, Douglas.

 Unfortunately it's not well supported. Here you'd find how to do it  
 for the
 time being:
 http://bugs.repoze.org/issue58

 Cheers.

 - Gustavo.

 Douglas said:
 Hey everybody,
  I'm using repoze.who for authentication, and I've got the major part
 of it setup.  Login works, as does logout.  I just finished writing
 user registration, and was wondering if there was a way that I could
 automatically log the user in on successful signup?  I'm currently
 using the redirectingform plugin and the sql authenticator.  Will I
 have to write my own custom plugin, or is there something I can do  
 out
 of the box?

 Thanks,
 Douglas Mayle
 ___
 Repoze-dev mailing list
 Repoze-dev@lists.repoze.org
 http://lists.repoze.org/listinfo/repoze-dev
 -- 
 Gustavo Narea xri://=Gustavo.
 | Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |
 ___
 Repoze-dev mailing list
 Repoze-dev@lists.repoze.org
 http://lists.repoze.org/listinfo/repoze-dev

___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] Combining registration with login...

2009-05-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas Mayle wrote:

 Thanks, that worked a treat!  I've got comments in my code pointing to  
 the issue.  Hopefully it will be fixed for the next release...

I don't know about fixed, as I wouldn't call that issue a bug.  We are
looking at adding an API for use in apps like yours which will make
grubbing down into environ['repoze.who.plugins'] unnecessary:  your app
will still need to call the API method and concatenate the headers it
returns to your response headers.


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

iD8DBQFKFw/l+gerLs4ltQ4RAvFXAJ9xBpumrhaQTRCU0RFMAHKeoip/UQCfdfWp
XWhuMb+jNLFxdyiVpc6OpVg=
=O0EI
-END PGP SIGNATURE-
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev