Massimo,
It is almost satisfactory.
The label reads: Password: I think it should read something like:
Verify password:
The new register() is working when you use the default auth_user
table, however, when you use a custom auth_user table it breaks. In my
case I have the following table. When I expose register() the second
password field appears after the site field.
auth.settings.table_user=db.define_table('auth_user',
SQLField('first_name', label='Voornaam', length=128, default='',
notnull=True),
SQLField('last_name', label='Achternaam', length=128, default='',
notnull=True),
SQLField('bedrijf', db.bedrijf, default='', notnull=True),
SQLField('username', length=128, default='', notnull=True),
SQLField('password', type='password', readable=False, default='',
notnull=True),
SQLField('email', length=128, default='', notnull=True),
SQLField('site', type='boolean', default=False, notnull=True),
SQLField('registration_key', length=128, writable=False,
readable=False, default=''),
migrate='auth_user.table')
I hope this can easily be fixed.
Kind regards,
Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---