what is not working? On Monday, 10 November 2014 04:21:31 UTC-6, Yebach wrote: > > Hello > > In my db.py i have the following settings > > auth.settings.registration_requires_verification = True > auth.settings.registration_requires_approval = True/False - it is always > Fasle - user can login even if I set to True?????? > auth.settings.reset_password_requires_verification = True > > > mail=Mail() > auth.settings.mailer=mail > mail.settings.server='xxxx:25' > mail.settings.sender='[email protected]' > mail.settings.login='xxxx:pass' > mail.settings.tls = False > > auth.messages.verify_email = 'Click on the link > http://'+request.env.http_host+URL(r=request,c='default',f='user',args=['verify_email'])+'/%(key)s > > to verify your email' > auth.settings.reset_password_requires_verification = True > auth.messages.reset_password = 'Click on the link http://'+\ > request.env.http_host+\ > URL(r=request,c='default',f='user',args=['reset_password'])+\ > '/%(key)s to reset your password' > > > none of this seems to be working. > Mail server is ok because > mail.send('[email protected]', 'Message subject', 'Plain > text body of the message') is working > > > Any suggestions? >
-- 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.

