label = _("Email Password"),\r
help_text = _("The password for your SMTP connection."),\r
required=False,\r
-widget=PasswordInput))\r
+widget=PasswordInput(render_value=True)))\r
\r
EMAIL_USE_TLS = Setting('EMAIL_USE_TLS', False, EMAIL_SET, dict(\r
label = _("Use TLS"),\r
connection = SMTP(str(settings.EMAIL_HOST), str(settings.EMAIL_PORT),
local_hostname=DNS_NAME.get_fqdn())
- if (bool(settings.EMAIL_USE_TLS)):
+ if bool(settings.EMAIL_USE_TLS):
connection.ehlo()
connection.starttls()
connection.ehlo()