Annet: just to be sure you understand ... to do a custom auth you
need:
from gluon.tools import *
auth=Auth(globals(),db)
auth_table=db.define_table(
auth.settings.table_user_name,
# required fields
Field('email',length=128,label=T('Email'),default='',unique=True),
Field('password','password',readable=False,label=T('Password'),requires=CRYPT()),
Field('first_name',length=128,label=T('First name'),default='').
Field('last_name',length=128,label=T('Last name'),default=''),
...
Field('my_other_field',....)
...
)
# THIS STATEMENT MUST COME AFTER TABLE DEFINITION AND BEFORE
VALIDATORS
auth.settings.table_user=auth_table
auth.define_tables() # creates all needed tables for auth
I don't know whether the problems you're having might stem from not
following this structure.