diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-09-20 12:11:14 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-09-20 12:11:14 (GMT) |
commit | 36ab1556313fe42a77d38d056ace0bd9ae6ce573 (patch) | |
tree | bc7f344a68583166f9d4c924f0b56a80aca58624 | |
parent | a1fc89586ddfbaccca5fb1ed17f9d62137be25a0 (diff) | |
download | swift-contrib-36ab1556313fe42a77d38d056ace0bd9ae6ce573.zip swift-contrib-36ab1556313fe42a77d38d056ace0bd9ae6ce573.tar.bz2 |
In Eagle mode, require TLS
-rw-r--r-- | Swift/Controllers/MainController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index 2690343..24c5303 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -467,6 +467,7 @@ void MainController::performLoginFromCachedCredentials() { } ClientOptions clientOptions; clientOptions.forgetPassword = eagleMode_; + clientOptions.useTLS = eagleMode_ ? ClientOptions::RequireTLS : ClientOptions::UseTLSWhenAvailable; client_->connect(clientOptions); } |