[EMAIL PROTECTED] schrieb:
> My problem is that TG use only 'user'and 'password' to identify
> someone. And the user_name is used to identify wich user to test
> password. I would to use compagny too.

One solution would be to store user_names as '[EMAIL PROTECTED]' (and making 
sure that user and company don't contain @ signs). Your login template 
could have a javascript that joins the two fields. This way you wouldn't 
need to change much. Otherwise I fear you cannot evate monkey patching
turbogears.identity.visitor.IdentityVisitPlugin. I think this is one of 
the weak points of Identity that should be improved.

-- Christoph


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

Reply via email to