Thanks Jon. That did it!

I love the quick responses on this mailing list ...and ofcourse Web2py
rocks!!

On Apr 29, 4:58 pm, Jonathan Lundell <[email protected]> wrote:
> On Apr 29, 2010, at 1:49 PM, DJ wrote:
>
> > I would like to set the auth method to use any username ('tom')
> > instead of forcing an email id ('[email protected]').
>
> > How can I do this?
>
> In the latest version, call define_tables(username=True). In earlier versions 
> you have to create the user table manually; there's a discussion in the 
> manual.
>
> IIRC, if there's a username in the user table, it gets used by auth in 
> preference to the email address.

Reply via email to