Jeff Watkins wrote:
On 24 Nov, 2005, at 3:27 pm, Steve Bergman wrote:
I have a need to validate users against:

CompanyCode
username
password

Different companies can have duplicate usernames, but they are distict users.

Is this possible with the current identity code?

Steve, this isn't presently possible. You *could* have your login form cram the company code and username into a single field on submission and key off that. But that would suck.

I'll look at solving this soon because I think it ties into some things people have been complaining about.

Jeff
I would also be very keen on seeing something like this implemented, as I have a system that I would like to try and do in TurboGears that requires:

Username
Password
PIN

It would be excellent if the framework could be extended to accept custom fields along with the standard username & password.

Cheers,

Tim

Reply via email to