[web2py] Re: auth define_tables username=False not working on GAE

2015-03-22 Thread Sébastien Loix
Hi Massimo, Thanks for the explanation, now I get it :) I am slowly -trying to- building a login where user can both login with email + password and Facebook. For the Facebook part I "had" to create a username field as written in the tutorial but your solution is perfect. Thanks again! El sába

[web2py] Re: auth define_tables username=False not working on GAE

2015-03-21 Thread Massimo Di Pierro
It is a feature. ;-) If the auth_user table has a username, it uses the username to ID the user instead of the email. Mind that on-login you can always pass the email in place of the username and it will work. Anyway, if you do not want this and you want a field called username that does not