diff options
Diffstat (limited to 'servo/forms/admin.py')
-rw-r--r-- | servo/forms/admin.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/servo/forms/admin.py b/servo/forms/admin.py index 0fa0058..f1e610d 100644 --- a/servo/forms/admin.py +++ b/servo/forms/admin.py @@ -474,7 +474,16 @@ class SettingsForm(BaseForm): label=_('Password'), widget=forms.PasswordInput() ) - smtp_ssl = forms.BooleanField(initial=True, required=False, label=_('Use SSL')) + + ENCRYPTION_CHOICES = ( + ('OFF', _('None')), + ('SSL', 'SSL'), + ('TLS', 'TLS'), + ) + smtp_encryption = forms.ChoiceField(choices=ENCRYPTION_CHOICES, + initial='OFF', + required=False, + label=_('Encryption')) sms_gateway = forms.ChoiceField( label=_('SMS Gateway'), |