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 in Auth class, that is, to send my
custom emails on register and request reset password respectively.

Regards, Lisandro.


2013/10/27 Ykä Marjanen <yka.marja...@gmail.com>

> I have replaced the standard verification with my own. The standard
> authentication is pretty simple as it creates a unique key, which it stores
> in the database and sends as a link to the registrant. When the link is
> clicked it will match the registration details with the unique id and
> stores (accepts the user) them.
>
> This way you can customize the template and use email API (json), which is
> much more powerful than smtp method (I use mailgun).
>
> Ykä
>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/NbLduKZR_4k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to