Mercurial > pidgin
comparison libpurple/protocols/jabber/auth.c @ 19871:7ce2179d5e73
Added hints to jabber auth.c
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sun, 12 Aug 2007 16:36:40 +0000 |
parents | 5033139b3ead |
children | 566fcbc4883a |
comparison
equal
deleted
inserted
replaced
19870:5bdd02bda148 | 19871:7ce2179d5e73 |
---|---|
294 char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), | 294 char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), |
295 js->gc->account->username); | 295 js->gc->account->username); |
296 purple_request_yes_no(js->gc, _("Plaintext Authentication"), | 296 purple_request_yes_no(js->gc, _("Plaintext Authentication"), |
297 _("Plaintext Authentication"), | 297 _("Plaintext Authentication"), |
298 msg, | 298 msg, |
299 2, js->gc->account, NULL, NULL, NULL, | 299 2, js->gc->account, NULL, NULL, NULL, "account", |
300 allow_cyrus_plaintext_auth, | 300 allow_cyrus_plaintext_auth, |
301 disallow_plaintext_auth); | 301 disallow_plaintext_auth); |
302 g_free(msg); | 302 g_free(msg); |
303 return; | 303 return; |
304 /* Everything else has failed, so fail the | 304 /* Everything else has failed, so fail the |
485 purple_request_yes_no(js->gc, _("Plaintext Authentication"), | 485 purple_request_yes_no(js->gc, _("Plaintext Authentication"), |
486 _("Plaintext Authentication"), | 486 _("Plaintext Authentication"), |
487 msg, | 487 msg, |
488 2, | 488 2, |
489 purple_connection_get_account(js->gc), NULL, NULL, | 489 purple_connection_get_account(js->gc), NULL, NULL, |
490 purple_connection_get_account(js->gc), allow_plaintext_auth, | 490 purple_connection_get_account(js->gc), "account", |
491 disallow_plaintext_auth); | 491 allow_plaintext_auth, disallow_plaintext_auth); |
492 g_free(msg); | 492 g_free(msg); |
493 return; | 493 return; |
494 } | 494 } |
495 finish_plaintext_authentication(js); | 495 finish_plaintext_authentication(js); |
496 } else { | 496 } else { |
570 purple_request_yes_no(js->gc, _("Plaintext Authentication"), | 570 purple_request_yes_no(js->gc, _("Plaintext Authentication"), |
571 _("Plaintext Authentication"), | 571 _("Plaintext Authentication"), |
572 _("This server requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), | 572 _("This server requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), |
573 2, | 573 2, |
574 purple_connection_get_account(js->gc), NULL, NULL, | 574 purple_connection_get_account(js->gc), NULL, NULL, |
575 purple_connection_get_account(js->gc), allow_plaintext_auth, | 575 purple_connection_get_account(js->gc), "account", |
576 disallow_plaintext_auth); | 576 allow_plaintext_auth, disallow_plaintext_auth); |
577 return; | 577 return; |
578 } | 578 } |
579 finish_plaintext_authentication(js); | 579 finish_plaintext_authentication(js); |
580 } else { | 580 } else { |
581 purple_connection_error(js->gc, | 581 purple_connection_error(js->gc, |