aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/OptionsWidget_connection.cpp
diff options
context:
space:
mode:
authorGravatar IceN9ne2018-11-26 09:50:57 -0500
committerGravatar IceN9ne2018-11-26 09:50:57 -0500
commit9e7188cf1c0b9ff05ce9da9893ae85ad70682688 (patch)
tree78ac2315fed67c7f528626dbcfef61be63321fc9 /src/modules/options/OptionsWidget_connection.cpp
parentDo not track Linux kernel version (diff)
downloadKVIrc-9e7188cf1c0b9ff05ce9da9893ae85ad70682688.tar.gz
KVIrc-9e7188cf1c0b9ff05ce9da9893ae85ad70682688.tar.bz2
KVIrc-9e7188cf1c0b9ff05ce9da9893ae85ad70682688.zip
SASL: Add option for aborting connection on SASL failure
Diffstat (limited to 'src/modules/options/OptionsWidget_connection.cpp')
-rw-r--r--src/modules/options/OptionsWidget_connection.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/options/OptionsWidget_connection.cpp b/src/modules/options/OptionsWidget_connection.cpp
index bed814aa0..60fdce129 100644
--- a/src/modules/options/OptionsWidget_connection.cpp
+++ b/src/modules/options/OptionsWidget_connection.cpp
@@ -182,7 +182,10 @@ OptionsWidget_connectionSocket::OptionsWidget_connectionSocket(QWidget * parent)
"you want to rely on the DNS server to provide the best choice.",
"options"));
- addRowSpacer(0, 5, 0, 5);
+ b = addBoolSelector(0, 5, 0, 5, __tr2qs_ctx("Drop connection on SASL authentication failure", "options"), KviOption_boolDropConnectionOnSaslFailure);
+ mergeTip(b, __tr2qs_ctx("This option will close the socket if no SASL authentication or any SASL fallback had succeeded.", "options"));
+
+ addRowSpacer(0, 6, 0, 6);
}
OptionsWidget_connectionSocket::~OptionsWidget_connectionSocket()