Added a check button for NNTP authentication to account preferences.
[claws.git] / src / news.c
index 27a500221133c976b268ddfdc7e4dc4e56e2f2e0..c36571c4aef390806a8451153b24bbb164b7b720 100644 (file)
@@ -133,7 +133,7 @@ static Session *news_session_new_for_folder(Folder *folder)
        gchar *passwd;
 
        ac = folder->account;
-       if (ac->userid && ac->userid[0]) {
+       if (ac->use_nntp_auth && ac->userid && ac->userid[0]) {
                userid = ac->userid;
                if (ac->passwd && ac->passwd[0])
                        passwd = g_strdup(ac->passwd);