On Jun 30, 2008, at 3:06 AM, [EMAIL PROTECTED] wrote:

>
> could you detail your http://trac.edgewall.org/ticket/3737  "A
> simpler solution to this is just handle the translation in your
> IAuthenticator." a little, pls?

class MyLoginModule(LoginModule):

     def authenticate(self, req):
         name = super(MyLoginModule, self).authenticate(req)
         # Your conversion here
         name = name.split('@', 1)
         return name



Thats all you need. Just be sure to disable the default LoginModule  
when using your modified version.

--Noah

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to