plugin misc_account: add a FIXME comment

This commit is contained in:
souliane 2016-01-16 10:09:16 +01:00
commit 7a6fe618d9

View file

@ -279,6 +279,9 @@ http://www.salut-a-toi.org
# TODO: return error code to user
log.error(u"Failed to send account creation confirmation to <%s>" % email)
# XXX: this will not fail when the email address doesn't exist
# FIXME: check email reception to validate email given by the user
# FIXME: delete the profile if the email could not been sent?
d_user = sendmail(email_host, email_from, email, msg.as_string())
d_user.addCallbacks(lambda dummy: log.debug(u"Account creation confirmation sent to <%s>" % email),
email_ko)