X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/dff1ade92ec138f339c4391df09c090006907374..5cf5e47e4d8c78850c6a95b1aee7ff63a8a0a862:/forum/settings/email.py diff --git a/forum/settings/email.py b/forum/settings/email.py index 71c2e69..7a0725b 100644 --- a/forum/settings/email.py +++ b/forum/settings/email.py @@ -1,5 +1,6 @@ from base import Setting, SettingSet from django.utils.translation import ugettext_lazy as _ +from django.forms.widgets import PasswordInput EMAIL_SET = SettingSet('email', _('Email Settings'), _("Email server and other email related settings."), 50) @@ -29,7 +30,8 @@ label = _("Email Password"), help_text = _(""" The password for your SMTP connection. """), -required=False)) +required=False, +widget=PasswordInput)) EMAIL_USE_TLS = Setting('EMAIL_USE_TLS', False, EMAIL_SET, dict( label = _("Use TLS"),