diff src/protocols/jabber/jabber.c @ 8086:55431e80a783

[gaim-migrate @ 8785] let people enable plain authentication over unencrypted channels if they really want to. and plug a memory leak in said authentication scheme. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 13 Jan 2004 00:03:27 +0000
parents 9a6df4d567e0
children d60272410bd5
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Tue Jan 13 00:02:34 2004 +0000
+++ b/src/protocols/jabber/jabber.c	Tue Jan 13 00:03:27 2004 +0000
@@ -1221,6 +1221,12 @@
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
 			option);
 
+	option = gaim_account_option_bool_new(
+			_("Allow plaintext auth over unencrypted streams"),
+			"auth_plain_in_clear", FALSE);
+	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
+			option);
+
 	option = gaim_account_option_int_new(_("Port"), "port", 5222);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
 			option);