Commit d93305f6 authored by BaiJiangJie's avatar BaiJiangJie

[Bugfix] 解决邮件设置不成功的问题(提交前点击测试按钮)

parent 5db704f7
......@@ -40,8 +40,8 @@ class BaseForm(forms.Form):
field = self.fields[name]
if isinstance(field.widget, forms.PasswordInput) and not value:
continue
if value == getattr(settings, name):
continue
# if value == getattr(settings, name):
# continue
encrypted = True if isinstance(field, FormEncryptMixin) else False
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment