changeset 1804:33e73c70d78a

plugin misc_account: add a FIXME comment
author souliane <souliane@mailoo.org>
date Sat, 16 Jan 2016 10:09:16 +0100
parents 14a97a5fe1c0
children 3c40fa0dcd7a
files src/plugins/plugin_misc_account.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py	Fri Jan 15 17:13:59 2016 +0100
+++ b/src/plugins/plugin_misc_account.py	Sat Jan 16 10:09:16 2016 +0100
@@ -279,6 +279,9 @@
             # 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)