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='sen...@algit.si' 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('vi...@net.si', '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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.