X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/feaf0be0e5f51c17cd003e03ab835242f229b0de..32c46c35fc9dbf3305dc774b144ff5af5176c9de:/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"),