Ok it can be done. On Feb 10, 7:04 pm, Alexandre Andrade <alexandrema...@gmail.com> wrote: > Web2py is almost portable, but when changing the server two lines have to be > manually adapted: > > auth.messages.verify_email = \ > 'Click on the linkhttp://.../user/verify_email/%(key)sto verify your > email' > auth.messages.reset_password = \ > 'Click on the linkhttp://.../user/reset_password/%(key)sto reset your > password' > > Massimo, > > just change it in db.py to > > # 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' > > I just don't want this bugging me in new apps. > -- > Atenciosamente > > -- > ========================= > Alexandre Andrade > Hipercenter.com
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.