Re: [web2py] Re: auth.messages.verify_email html template

2018-02-03 Thread Yi Liu
For other people's reference, I ended up modifying gluon/tools.py. It is probably not a good practise. But it is the easiest solution. I edit register() and email_reset_password() modifying something like (depends on which one) message=self.messages.verify_email % d to message=('',response.r

Re: [web2py] Re: auth.messages.verify_email html template

2018-02-02 Thread Yi Liu
Thanks for sharing. I really hope web2py can officially update the native function to allow modern html email for verification. I understand the contributors have priorities. Yi On Saturday, November 22, 2014 at 5:56:06 AM UTC-8, Lisandro wrote: > > Hi Jay Martin. Actually, I ended up coding my

Re: [web2py] Re: auth.messages.verify_email html template

2014-11-22 Thread Jay Martin
Extremely helpful! Thanks Lisandro. I'll be sure to share any tweaks... On Saturday, November 22, 2014 8:56:06 AM UTC-5, Lisandro wrote: > > ... > > I hope it helps! > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - htt

Re: [web2py] Re: auth.messages.verify_email html template

2014-11-22 Thread Lisandro
Hi Jay Martin. Actually, I ended up coding my own functions instead of instantiating the Auth class. That is, I coded my own login, register, reset_password, etc functions. For example, for the login, this is the code in the controller: # This code should run when the users posts the form with

Re: [web2py] Re: auth.messages.verify_email html template

2014-11-22 Thread Jay Martin
@Lisandro, would happen to have these code snippets handy to share? I'm interested in using the mailgun api too. Either way, thanks for checking! My best, Jay On Tuesday, October 29, 2013 5:46:51 PM UTC-4, Lisandro wrote: > > ... > > For those interested in doing that, is just as simple as inst

Re: [web2py] Re: auth.messages.verify_email html template

2013-10-29 Thread Lisandro Rostagno
Thanks for the tip! I thought it would be more difficult, but apparently nothing is too difficult with web2py ;) For those interested in doing that, is just as simple as instantiating Auth class and overwriting wanted methods, for example, I overwrited "register" and "email_reset_password" methods