Are you saying you want users to be able to login with either their 
username or their email address? For that, I think you might need a custom 
login method. On the other hand, if you simply want to allow users to have 
a username, but always login with email address, you should be able to do:

auth.settings.login_userfield = 'email'

Anthony

On Friday, December 9, 2011 7:22:57 AM UTC-5, Francisco Costa wrote:
>
> lots of users on login form submit their email instead of the
> username..
>
> it seems that auth.define_tables(username=True) forces username login
> but it is possible to have both?
>

Reply via email to