I think I will just make those fields invisible for now. Defining custom auth tables seem also a little risky, as it is unclear that which fields must be kept (except for auth_user, which is used as an example in the manual) for both current and future releases.
Thanks all! On Friday, April 13, 2012 9:30:22 AM UTC-4, Massimo Di Pierro wrote: > > > web2py's auth is take it or leave it. > > I disagree. You can find the definition as Anthony suggests in the source > of gluon/tools.py. > You can add fields with > > auth.settings.extra_fields['auth_user']=[Field('address')] > > You should not remove fields. because they are the minimum necessary to > make things work. You can remove first_name and last_name but life is > easier if you simply make them invisible. > > You do not have to use {{=auth.navbar(...)}} in your layout.html. > >