On Saturday, August 26, 2017 at 8:43:56 AM UTC-4, 黄祥 wrote: > > had you already tried ? > *e.g. not tested* > # after auth.define_tables() > db.auth_user.email.unique = False > or > auth_table.email.unique = False >
The issue is the IS_NOT_IN_DB validator, not the "unique" attribute (the latter affects the database schema upon table creation, is not set for the email field, and even if it were set, it would not help to subsequently set it to False, as the database schema would not change). Anthony -- 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.

