Im using same web2py version and python 2.7.x My db.py works (user is inserted on db marked as 'pending') with this configuration:
from gluon.tools import Auth, Service, PluginManager auth = Auth(db) service = Service() plugins = PluginManager() ## create all tables needed by auth if not custom tables auth.define_tables(username=False, signature=False) ## configure auth policy auth.settings.registration_requires_verification = False auth.settings.registration_requires_approval = True auth.settings.login_after_registration = False auth.settings.reset_password_requires_verification = True Try with all this configuration to see if it works... El miércoles, 19 de agosto de 2015, 15:22:32 (UTC+2), Karl-Thomas Schmidt escribió: > > Hi@ all, > > Having this lines in db.py > auth = Auth(db) > auth.settings.registration_requires_approval = True > auth.settings.login_after_registration = False > a new registration immediatly logs in and corresponding db field is still > empty. > > Running 2.11.2-stable+timestamp.2015.05.30.16.33.24 (Running on > nginx/1.2.1, > Python 2.7.3) > > What do i miss here? > > > -- 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.

