fix: domain check error

This commit is contained in:
Liujian committed 2025-12-23 14:16:04 +08:00
1 parent 4d590bdb80
commit e26e6a7f24
1 file changed
+1 -2
@@ -241,8 +241,7 @@ def set_sysconfig(
email_smtp_password = email_config.get("smtp_password")
email_smtp_sender = email_config.get("smtp_sender")
if not domain:
# 正则检查domain格式
if domain:
try:
domain = ValidationUtils.validate_domain(domain)
except ValidationException as e: