mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-26 22:05:38 +00:00
SASL EXTERNAL doesn't necessitate a certificate
This commit is contained in:
1 parent
c5a798beec
commit
aec72593f2
1 file changed
+1
-1
@@ -1805,7 +1805,7 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str,
|
||||
/* if the SASL password is set AND auth mode is set to SASL, request SASL auth */
|
||||
if (!g_strcmp0 (extension, "sasl") &&
|
||||
((serv->loginmethod == LOGIN_SASL && strlen (serv->password) != 0)
|
||||
|| (serv->loginmethod == LOGIN_SASLEXTERNAL && serv->have_cert)))
|
||||
|| serv->loginmethod == LOGIN_SASLEXTERNAL))
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user