oops. Thanks.
On Feb 16, 11:18 am, Francisco Gama <
francisco....@gmail.com> wrote:
> hi, thank you for your help.
> I tried that with the following code (based on gluon/tools.py - method
> define_tables) that intended to make to make the "last_name" field optional
> instead of mandatory. Btw, parallel to what I want to show, I believe this
> example could be used as proof of concept on how to customize the
> authentication in AlterEgo (unless there is an easier way to do it...).
> Anyway, to the code:
>
> from gluon.tools import Mail, Auth, Recaptcha db=SQLDB("sqlite://test.db")
> mail=Mail() ## specify your SMTP server mail.settings.server = '
>
smtp.yourdomain.com:25' ## specify your email address mail.settings.sender =