Unverified Commit 74ae8636 authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #3011 from jumpserver/dev_bai

[Bugfix] 解决邮件设置不成功的问题(提交前点击测试按钮)
parents 5db704f7 d93305f6
......@@ -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