aha! auth was redirecting it again so needed: auth.settings.register_next = URL(r=request, c='default', f='user/ login')
On May 6, 3:22 pm, Richard <richar...@gmail.com> wrote: > (there was an earlier thread about this but is old now so can't > reply:http://groups.google.com/group/web2py/browse_thread/thread/e8a948848e...) > > On registration a verification email is sent but nothing is flashed to > user. (Flash is working for other operations.) > > I tried adding: > auth.settings.register_onaccept = lambda form: session.flash = > 'Account activation settings have been emailed' > but still don't receive a flash message. > > Are there any setting that would disable flash here? In case so these > are my auth.settings: > > auth.settings.registration_requires_verification = True > auth.settings.reset_password_requires_verification = True > auth.settings.registration_requires_approval = False > auth.settings.actions_disabled.append('profile') > auth.settings.captcha = None > auth.settings.register_next = URL(r=request, c='default', f='index') > > Richard