mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-04 18:22:26 +00:00
Don't try TLS with SSL connections
This commit is contained in:
parent
0f0bddedc9
commit
45c1647a92
1 changed files with 13 additions and 12 deletions
|
@ -58,6 +58,7 @@ def is_authenticated(user, password):
|
||||||
|
|
||||||
server_is_local = (IMAP_SERVER == "localhost")
|
server_is_local = (IMAP_SERVER == "localhost")
|
||||||
|
|
||||||
|
if not connection_is_secure:
|
||||||
try:
|
try:
|
||||||
connection.starttls()
|
connection.starttls()
|
||||||
log.LOGGER.debug("IMAP server connection changed to TLS.")
|
log.LOGGER.debug("IMAP server connection changed to TLS.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue