fix: keep localhost for smtp checks
This commit is contained in:
parent
aa7ee1c6b9
commit
88896f8f41
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ class EmailAccount(Document):
|
|||
self.password = None
|
||||
|
||||
if not frappe.local.flags.in_install and not self.awaiting_password:
|
||||
if validate_oauth or self.password or self.smtp_server in ("127.0.0.1", "127.0.0.1"):
|
||||
if validate_oauth or self.password or self.smtp_server in ("127.0.0.1", "localhost"):
|
||||
if self.enable_incoming:
|
||||
self.get_incoming_server()
|
||||
self.no_failed = 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue