Hi,

(1) I want to substitute auth by email_auth. I have added the following
lines to db.py (localhost):

# My Code:
from gluon.contrib.login_methods.email_auth import email_auth
# from the book:
auth.settings.login_methods.append(email_auth("smtp.gmail.com:587",
"@gmail.com"))
auth.settings.login_methods= [email_auth("smtp.gmail.com:587", "@gmail.com")]

Result: the register page looks the auth-page. Any ideas what went wrong?

(2) I have tried to do the same with fluxflex and I got:
*502 bad gateway*
Is it possible that fluxflex does not allow to use port 587?

Regards, Martin

Reply via email to