mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
python: enable certificate checks in cloned accounts
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- improved error handling for account setup from qrcode #3474
|
- improved error handling for account setup from qrcode #3474
|
||||||
|
- python: enable certificate checks in cloned accounts #3443
|
||||||
|
|
||||||
## 1.92.0
|
## 1.92.0
|
||||||
|
|
||||||
|
|||||||
@@ -497,6 +497,8 @@ class ACFactory:
|
|||||||
configdict = dict(
|
configdict = dict(
|
||||||
addr=cloned_from.get_config("addr"),
|
addr=cloned_from.get_config("addr"),
|
||||||
mail_pw=cloned_from.get_config("mail_pw"),
|
mail_pw=cloned_from.get_config("mail_pw"),
|
||||||
|
imap_certificate_checks=cloned_from.get_config("imap_certificate_checks"),
|
||||||
|
smtp_certificate_checks=cloned_from.get_config("smtp_certificate_checks"),
|
||||||
)
|
)
|
||||||
configdict.update(kwargs)
|
configdict.update(kwargs)
|
||||||
ac = self._get_cached_account(addr=configdict["addr"]) if cache else None
|
ac = self._get_cached_account(addr=configdict["addr"]) if cache else None
|
||||||
|
|||||||
Reference in New Issue
Block a user