I had a similar issue, the problem was the validator on email:
requires = is_unique_email
is_unique_email = [
IS_EMAIL(error_message=self.messages.invalid_email),
IS_NOT_IN_DB(db, '%s.email' % settings.table_user_name,
error_message=self.messages.email_taken)]
redefining the validator might resolve the issue:
db2.auth_user.email.requires =
IS_EMPTY_OR(IS_EMAIL(error_message=self.messages.invalid_email),
IS_NOT_IN_DB(db, '%s.email' % settings.table_user_name,
error_message=self.messages.email_taken))
I guess the email field did not show up in the form?
In the admin interface ignore_rw = True so in those forms the emial field
will show up even if you set
writable and readable to False
I hope this helps you resolve the issue.
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.