On Tue, Jan 27, 2009 at 4:19 PM, Florent Aide <[email protected]> wrote:
> On Tue, Jan 27, 2009 at 4:10 PM, Gustavo Narea <[email protected]> wrote:
>
> [...]
>
>>>     class MyAuthenticator(SQLAlchemyAuthenticatorPlugin):
>>>         def authenticate(self, environ, identity):
>>>             userid = super(MyAuthenticator, self).authenticate(environ,
>>>                                                                identity)
>>>             if userid:
>>>                 flash('Welcome back!')
>>>             else:
>>>                 flash('Wrong credentials', 'warning')
>>>             return userid
>
> +1 on that Gustavo!

For those that search this new package in the repoze SVN here is the url:

http://svn.repoze.org/whoplugins/whoalchemy/trunk/

I hope this will help someone out there :)

Florent.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to